Parent Directory | Revision Log | Patch
revision 1.1 by benja, Thu Jan 9 02:33:53 2003 UTC | revision 1.2 by benja, Thu Jan 9 03:11:32 2003 UTC | |
---|---|---|
# | Line 63 def testSimple(): | Line 63 def testSimple(): |
63 | assert not r.inBlock() | assert not r.inBlock() |
64 | assert not r.inBlock() | assert not r.inBlock() |
65 | r.readEndOfFile() | r.readEndOfFile() |
66 | ||
67 | def testFailing(): | |
68 | r = read( | |
69 | "---\n" | |
70 | "Foo:\n" | |
71 | " - [bar]\n") | |
72 | ||
73 | r.startBlock() | |
74 | r.readTag(); | |
75 | try: | |
76 | r.readColon() | |
77 | r.startList() | |
78 | except java.io.IOException: pass | |
79 | else: assert 0, "No exception on missing indent" |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |