diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2021-03-31 15:39:47 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-03-31 15:39:47 +0900 |
| commit | f2da051367b90d20db39a3faaafc5f97f1802e0f (patch) | |
| tree | 0d64e70297dce4547fb0cc9ecdf360f5236da733 /test | |
| parent | b7c23a4a14b02bf6255d21d372e099d6ee0c607a (diff) | |
| parent | c146e81c4ae318697d9f67a25e633dd071dfefd4 (diff) | |
| download | mruby-f2da051367b90d20db39a3faaafc5f97f1802e0f.tar.gz mruby-f2da051367b90d20db39a3faaafc5f97f1802e0f.zip | |
Merge pull request #5394 from fundamental/partial-backtrace
Add support for partial backtraces
Diffstat (limited to 'test')
| -rw-r--r-- | test/t/exception.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/t/exception.rb b/test/t/exception.rb index c9afeb61a..6f517a5c3 100644 --- a/test/t/exception.rb +++ b/test/t/exception.rb @@ -382,7 +382,8 @@ def backtrace_available? begin raise "XXX" rescue => exception - not exception.backtrace.empty? + return false if exception.backtrace.empty? + not exception.backtrace[0].include?("unknown") end end |
