[gtksourceview] Add ruby test file



commit 753bffe7a5927a69ecab91b121f43f379f21cb26
Author: Paolo Borelli <pborelli gnome org>
Date:   Sat Aug 22 12:18:49 2009 +0200

    Add ruby test file

 tests/testfiles.sh |   17 +++++++++++++++++
 1 files changed, 17 insertions(+), 0 deletions(-)
---
diff --git a/tests/testfiles.sh b/tests/testfiles.sh
index 3eed1ba..a516af8 100755
--- a/tests/testfiles.sh
+++ b/tests/testfiles.sh
@@ -162,6 +162,8 @@ EOFEOF
 
 cat > $dir/file.py <<EOFEOF
 import sys
+
+# A comment
 class Hello(object):
     def __init__(self):
         object.__init__(self)
@@ -174,6 +176,21 @@ if __name__ == "__main__":
     Hello().hello()
 EOFEOF
 
+cat > $dir/file.rb << EOFEOF
+
+# A comment
+class Hello
+  attr_reader :name
+  def initialize(name)
+    @name = name
+  end
+  def say
+    puts "Hello # name"
+  end
+end
+
+EOFEOF
+
 cat > $dir/file.xml <<EOFEOF
 <?xml version="1.0" encoding="UTF-8"?>
 <foolala version='8.987'>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]