Skip to content

Commit

Permalink
Use "omission" instead of "omitted" for event type
Browse files Browse the repository at this point in the history
on_test_omitted ->
on_test_omission
  • Loading branch information
kou committed Nov 21, 2012
1 parent 7d3a1d7 commit 266b8c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/grntest/tester.rb
Expand Up @@ -528,7 +528,7 @@ def on_test_leak(result)
@reporter.on_test_leak(self, result)
end

def on_test_omitted(result)
def on_test_omission(result)
@status = "omitted"
@result.test_omitted
@reporter.on_test_omission(self, result)
Expand Down Expand Up @@ -786,7 +786,7 @@ def run
@worker.on_test_leak(result)
succeeded = false
when :omitted
@worker.on_test_omitted(result)
@worker.on_test_omission(result)
else
@worker.on_test_not_checked(result)
output_actual_file(result.actual)
Expand Down

0 comments on commit 266b8c8

Please sign in to comment.