##// END OF EJS Templates
tests: add basic tests for doctest syntax
Idan Kamara -
r15249:f30c0a7b default
parent child Browse files
Show More
@@ -16,6 +16,20 Multi-line command:
16 $ foo
16 $ foo
17 bar
17 bar
18
18
19 Doctest commands:
20
21 >>> print 'foo'
22 foo
23 $ echo interleaved
24 interleaved
25 >>> for c in 'xyz':
26 ... print c
27 x
28 y
29 z
30 >>> print
31 <BLANKLINE>
32
19 Regular expressions:
33 Regular expressions:
20
34
21 $ echo foobarbaz
35 $ echo foobarbaz
General Comments 0
You need to be logged in to leave comments. Login now