Skip to content
Permalink
Browse files
Skip when backtrace doesn't get
  • Loading branch information
ksss committed Jan 14, 2017
1 parent 6f9cb74 commit 59d9f313dfc706789b303ec259fb88ff19207ddc
Showing 1 changed file with 2 additions and 0 deletions.
@@ -4,6 +4,8 @@
end

assert('Kernel.caller, Kernel#caller') do
skip "backtrace isn't available" if caller(0).empty?

c = Class.new do
def foo(*args)
caller(*args)

0 comments on commit 59d9f31

Please sign in to comment.