summaryrefslogtreecommitdiff
path: root/bootstraptest/test_syntax.rb
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-06 02:04:19 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-12-06 02:04:19 +0000
commitde4ec689910c07a48b81083adc3130b6b6023be3 (patch)
treed4b32395b86535a15ea91e8105052c28d6263b5f /bootstraptest/test_syntax.rb
parent95cf86dd269c1b468ab55007616ef2854a13cdad (diff)
* bootstraptest/test_knownbug.rb: new test for block and
define_method. * bootstraptest/test_syntax.rb: moved [ruby-dev:32429] from test_knownbug.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bootstraptest/test_syntax.rb')
-rw-r--r--bootstraptest/test_syntax.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/bootstraptest/test_syntax.rb b/bootstraptest/test_syntax.rb
index b25d0d4..8b499c5 100644
--- a/bootstraptest/test_syntax.rb
+++ b/bootstraptest/test_syntax.rb
@@ -624,3 +624,7 @@ assert_equal '2', %q{
end
}
+assert_match /illegal multibyte char/, %q{
+ STDERR.reopen(STDOUT)
+ eval("\"\xfd".force_encoding("utf-8"))
+}, '[ruby-dev:32429]'