summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb2
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"