eval("\"\xfd".force_encoding("utf-8")) generates garbage in error message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
21729a1c77
commit
850cd3a536
@ -9,3 +9,8 @@ assert_equal '0', %q{
|
|||||||
Process.wait pid
|
Process.wait pid
|
||||||
$?.to_i
|
$?.to_i
|
||||||
}, '[ruby-dev:32404]'
|
}, '[ruby-dev:32404]'
|
||||||
|
|
||||||
|
assert_match /unterminated string meets end of file/, %q{
|
||||||
|
STDERR.reopen(STDOUT)
|
||||||
|
eval("\"\xfd".force_encoding("utf-8"))
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user