Skip to content

Commit

Permalink
Merge pull request #1590 from underscorgan/maint/master/fix-pass-test
Browse files Browse the repository at this point in the history
(maint) Rescue PassTest exceptions
  • Loading branch information
Spencer McElmurry authored Jul 3, 2019
2 parents 829f7a0 + 1b012d1 commit 26b9d03
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/beaker/test_case.rb
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ def run_test
eval test,nil,path,1
rescue FailTest, TEST_EXCEPTION_CLASS => e
log_and_fail_test(e, :fail)
rescue PassTest
@test_status = :pass
rescue PendingTest
@test_status = :pending
rescue SkipTest
Expand Down

0 comments on commit 26b9d03

Please sign in to comment.