summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--bootstraptest/test_eval.rb4
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e3ed463741..a2e2adec4a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Wed May 21 23:20:21 2008 Koichi Sasada <ko1@atdot.net>
+
+ * bootstraptest/test_eval.rb: fix syntax.
+
Wed May 21 17:46:17 2008 NARUSE, Yui <naruse@ruby-lang.org>
* ext/nkf/nkf-utf8/nkf.c (nkf_enc_find_index):
diff --git a/bootstraptest/test_eval.rb b/bootstraptest/test_eval.rb
index 4c8e5aaa09..7fdfda8272 100644
--- a/bootstraptest/test_eval.rb
+++ b/bootstraptest/test_eval.rb
@@ -268,7 +268,7 @@ assert_equal 'ok', %q{
nil.instance_eval {
def a() :a end
}
- rescue => TypeError
+ rescue TypeError
:ok
end
}, '[ruby-core:16796]'
@@ -278,7 +278,7 @@ assert_equal 'ok', %q{
nil.instance_exec {
def a() :a end
}
- rescue => TypeError
+ rescue TypeError
:ok
end
}, '[ruby-core:16796]'