# HG changeset patch # User Idan Kamara # Date 1318521278 -7200 # Node ID f30c0a7b8346fbff30faa0ce48cd793d0191a139 # Parent 3efbb5e8bf5cec3bbf3375e9b9c8b0fc36340661 tests: add basic tests for doctest syntax diff -r 3efbb5e8bf5c -r f30c0a7b8346 tests/test-run-tests.t --- a/tests/test-run-tests.t Thu Oct 13 17:54:37 2011 +0200 +++ b/tests/test-run-tests.t Thu Oct 13 17:54:38 2011 +0200 @@ -16,6 +16,20 @@ $ foo bar +Doctest commands: + + >>> print 'foo' + foo + $ echo interleaved + interleaved + >>> for c in 'xyz': + ... print c + x + y + z + >>> print + + Regular expressions: $ echo foobarbaz