Skip to content

Commit

Permalink
Correct method name
Browse files Browse the repository at this point in the history
  • Loading branch information
franckverrot committed Aug 16, 2016
1 parent 8682137 commit f6a2f67
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/t/exception.rb
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ def z
end
end

def backtrace_avaialble?
def backtrace_available?
begin
raise "XXX"
rescue => exception
Expand All @@ -382,7 +382,7 @@ def backtrace_avaialble?
end

assert('GC in rescue') do
skip "backtrace isn't avaialble" unless backtrace_avaialble?
skip "backtrace isn't available" unless backtrace_available?

line = nil
begin
Expand All @@ -401,7 +401,7 @@ def backtrace_avaialble?
end

assert('Method call in rescue') do
skip "backtrace isn't avaialble" unless backtrace_avaialble?
skip "backtrace isn't available" unless backtrace_available?

line = nil
begin
Expand Down

0 comments on commit f6a2f67

Please sign in to comment.