diff options
Diffstat (limited to 'sample')
-rw-r--r-- | sample/test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sample/test.rb b/sample/test.rb index f09619b827..912f84e2d4 100644 --- a/sample/test.rb +++ b/sample/test.rb @@ -674,7 +674,7 @@ if defined? Process.kill rescue x = $! end - ok(x && x =~ /Interrupt/) + ok(x && /Interrupt/ =~ x) end check "eval" |