gzz-commits
[Top][All Lists]
Advanced

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

[Gzz-commits] gzz/test/gzz/slices parser.test


From: Benja Fallenstein
Subject: [Gzz-commits] gzz/test/gzz/slices parser.test
Date: Wed, 08 Jan 2003 22:11:33 -0500

CVSROOT:        /cvsroot/gzz
Module name:    gzz
Changes by:     Benja Fallenstein <address@hidden>      03/01/08 22:11:33

Modified files:
        test/gzz/slices: parser.test 

Log message:
        A little more testing

CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/gzz/gzz/test/gzz/slices/parser.test.diff?tr1=1.1&tr2=1.2&r1=text&r2=text

Patches:
Index: gzz/test/gzz/slices/parser.test
diff -u gzz/test/gzz/slices/parser.test:1.1 gzz/test/gzz/slices/parser.test:1.2
--- gzz/test/gzz/slices/parser.test:1.1 Wed Jan  8 21:33:53 2003
+++ gzz/test/gzz/slices/parser.test     Wed Jan  8 22:11:32 2003
@@ -63,3 +63,17 @@
     assert not r.inBlock()
     assert not r.inBlock()
     r.readEndOfFile()
+
+def testFailing():
+    r = read(
+        "---\n"
+        "Foo:\n"
+        " - [bar]\n")
+
+    r.startBlock()
+    r.readTag(); 
+    try:
+        r.readColon()
+        r.startList()
+    except java.io.IOException: pass
+    else: assert 0, "No exception on missing indent"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]