Skip to content

Commit

Permalink
Small update to readme
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Jul 17, 2010
1 parent 979a1ab commit 98177e5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.rdoc
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,7 @@
* Extensions provide syntactic sugar and support for unit and behavioural tests.


== Example 1 -- Basic syntax

require 'tryouts'
== Basic syntax

# test matches result with expectation
1 + 1
Expand All @@ -30,12 +28,10 @@
# test ignores blank lines before expectations
'foo'

== Example 2 -- Requiring libraries

# Other libraries can be required before 'tryouts'
require 'ripper'
require 'tryouts'
== Running Tests

$ try
$ try path/2/test.rb

== Credits

Expand Down

0 comments on commit 98177e5

Please sign in to comment.