summaryrefslogtreecommitdiff
path: root/sample/test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'sample/test.rb')
-rw-r--r--sample/test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/sample/test.rb b/sample/test.rb
index ae3e764280..2e9d3e08ee 100644
--- a/sample/test.rb
+++ b/sample/test.rb
@@ -143,8 +143,8 @@ while tmp.gets()
gsub!('VT100', 'Vt100')
redo;
end
- $bad = 1 if /vt100/;
- $bad = 1 if /VT100/;
+ $bad = 1 if /vt100/
+ $bad = 1 if /VT100/
end
ok(tmp.eof? && !$bad)
tmp.close
@@ -181,6 +181,7 @@ until i>4
end
ok(i>4)
+
# exception handling
check "exception";