Commit dc815083 authored by Mathieu Giraud's avatar Mathieu Giraud

src/should.py: update doctests

see #39
parent 531cd17f
Pipeline #757 failed with stages
in 6 seconds
......@@ -534,13 +534,13 @@ class TestCase(TestCaseAbstract):
>>> repr(test)
':hello'
>>> test.str_status(colorize=False)
'not run'
>>> test.str(colorize=False)
'not-run'
>>> test.test(['world'])
False
>>> test.status
>>> test.status.or_alias()
False
>>> test.test(['hello'])
......@@ -697,7 +697,7 @@ class TestSuite():
>>> s = TestSuite()
>>> s.test(['echo "hello"', '$My test', ':hello'], colorize = False)
True
>>> s.tests[0].status
>>> s.tests[0].status.or_alias()
True
>>> s2 = TestSuite('r')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment