Skip to content

Commit 1fca315

Browse files
committed
I've been converted... tabs go from 4 spaces to 2...
1 parent 21b5191 commit 1fca315

16 files changed

+3749
-3745
lines changed

README.md

+6-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,15 @@ Tyrtle has been designed for simplicity and legibility, with minimal pollution o
44

55
Here's an example of how you can write an assertion:
66

7-
assert.that(Math.sqrt(49)).is(7).since("The square root of 49 should be 7");
7+
```javascript
8+
assert.that(Math.sqrt(49)).is(7).since("The square root of 49 should be 7");
9+
```
810

911
If that's too much typing for you, it's good to know that Tyrtle gives you a fine heaping of syntactic sugar: `that`, `is` and `since` are all completely optional! If you prefer a terser syntax, the exact same assertion can be written like this:
1012

11-
assert(Math.sqrt(49))(7)("The square root of 49 should be 7");
13+
```javascript
14+
assert(Math.sqrt(49))(7)("The square root of 49 should be 7");
15+
```
1216

1317
- [Full documentation is on the wiki](https://github.com/spadgos/tyrtle/wiki).
1418
- Tyrtle has a sister project called **Myrtle** which you might also like!

0 commit comments

Comments
 (0)