indentation in readme.md

This commit is contained in:
Gabriel Falcao 2012-07-31 11:32:51 -04:00
parent da9abee6d8
commit 8bf6405b30

View File

@ -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'
}])
```