Permalink
Browse files

Update README.md

fixed formatting
  • Loading branch information...
1 parent dac72ab commit cbadad400dad248e12b90e798dbf358f09f20326 @willryan committed Sep 30, 2012
Showing with 5 additions and 4 deletions.
  1. +5 −4 README.md
View
@@ -13,13 +13,14 @@ Usage
Note that you MUST use semicolons between lines in callable blocks.
class MyTest(BooSpec):
+
def Spec(): // define your spec inside here
- Describe("functional area", {
+ Describe("functional area", {
Before() {
doSomeSetup();
useSemicolonsBetween("Lines");
- }); # don't forget this semicolon
- Describe("subarea", {
+ }); # don't forget this semicolon
+ Describe("subarea", {
Before() {
moreSetup();
});
@@ -31,7 +32,7 @@ class MyTest(BooSpec):
Expr(myObject.Add(2,5)).Should(BeGreaterThan(6))
});
After() {
- cleanup();
+ cleanup();
});
});
});

0 comments on commit cbadad4

Please sign in to comment.