Permalink
Browse files

fix typo

  • Loading branch information...
1 parent 3cea2c5 commit 64543428ab902a67ba04fc0e15da2667024389a0 @kachick committed May 28, 2012
Showing with 13 additions and 13 deletions.
  1. +11 −11 README.rdoc
  2. +1 −1 example.rb
  3. +1 −1 lib/st/singletonclass.rb
View
22 README.rdoc
@@ -45,7 +45,7 @@ A Simplified Testing Framework.
# 9 tests: Pass: 9 - Fail: 0
# ------------------------------------------------------------------------------
- ST 'Failer case' do
+ ST 'Failure case' do
s = 'Sample Strings'
@@ -67,16 +67,16 @@ A Simplified Testing Framework.
end
- # # Failer case
- # Failer: `"Sample Strings"` not IS `";)"`. # (example.rb:32:in `block in <main>')
- # Failer: `"Sample Strings"` not NOT `"Sample Strings"`. # (example.rb:33:in `block in <main>')
- # Failer: `"Sample Strings"` not MATCH `/\d/`. # (example.rb:34:in `block in <main>')
- # Failer: `"Sample Strings"` not EQUAL `"Sample Strings"`. # (example.rb:35:in `block in <main>')
- # Failer: `"Sample Strings"` not EQL `:"Sample Strings"`. # (example.rb:36:in `block in <main>')
- # Failer: `"Sample Strings"` not KIND `Symbol`. # (example.rb:37:in `block in <main>')
- # Failer: `"Sample Strings"` not A `Symbol`. # (example.rb:38:in `block in <main>')
- # Failer: Expected just an error `Exception`, but ocuured `NoMethodError`. # (example.rb:40:in `block in <main>')
- # Failer: Expected an error `SyntaxError` or any suberror, but ocuured `NoMethodError`. # (example.rb:44:in `block in <main>')
+ # # Failure case
+ # Failure: `"Sample Strings"` not IS `";)"`. # (example.rb:32:in `block in <main>')
+ # Failure: `"Sample Strings"` not NOT `"Sample Strings"`. # (example.rb:33:in `block in <main>')
+ # Failure: `"Sample Strings"` not MATCH `/\d/`. # (example.rb:34:in `block in <main>')
+ # Failure: `"Sample Strings"` not EQUAL `"Sample Strings"`. # (example.rb:35:in `block in <main>')
+ # Failure: `"Sample Strings"` not EQL `:"Sample Strings"`. # (example.rb:36:in `block in <main>')
+ # Failure: `"Sample Strings"` not KIND `Symbol`. # (example.rb:37:in `block in <main>')
+ # Failure: `"Sample Strings"` not A `Symbol`. # (example.rb:38:in `block in <main>')
+ # Failure: Expected just an error `Exception`, but ocuured `NoMethodError`. # (example.rb:40:in `block in <main>')
+ # Failure: Expected an error `SyntaxError` or any suberror, but ocuured `NoMethodError`. # (example.rb:44:in `block in <main>')
# 9 tests: Pass: 0 - Fail: 9
# ------------------------------------------------------------------------------
View
2 example.rb
@@ -25,7 +25,7 @@
end
-ST 'Failer case' do
+ST 'Failure case' do
s = 'Sample Strings'
View
2 lib/st/singletonclass.rb
@@ -25,7 +25,7 @@ def fail(detail)
def report
@failers.each do |result|
- puts "Failer: #{result}"
+ puts "Failure: #{result}"
end
puts "#{@pass_counter + @failers.length} tests: Pass: #{@pass_counter} - Fail: #{@failers.length}"

0 comments on commit 6454342

Please sign in to comment.