From 8bf6405b30bd3a61085fad933b25094b1f41a025 Mon Sep 17 00:00:00 2001 From: Gabriel Falcao Date: Tue, 31 Jul 2012 11:32:51 -0400 Subject: [PATCH] indentation in readme.md --- README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6bae50b..a3218cd 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ it will be used as title for your test. ## unicode.lower transforms string into lowercase ```python -assert u"Gabriel Falcão".lower() == "gabriel falcão" +from sure import that +assert that(u"Gabriel Falcao".lower()).equals(u"gabriel falcao") ``` ## python can add numbers @@ -74,5 +75,8 @@ assert version == '0.1.4' from sure import that from steadymark import Runner -assert that(Runner(text='## test\n```python\nassert True\n```').run().tests).equals([{u'code': u'assert True', u'title': u'test'}]) +tests = Runner(text='## test\n```python\nassert True\n```').run().tests +assert that(tests).equals([{ + u'code': u'assert True', u'title': u'test' +}]) ```