mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 5 additions and 0 deletions
|
@ -9,3 +9,8 @@ assert_equal '0', %q{
|
|||
Process.wait pid
|
||||
$?.to_i
|
||||
}, '[ruby-dev:32404]'
|
||||
|
||||
assert_match /unterminated string meets end of file/, %q{
|
||||
STDERR.reopen(STDOUT)
|
||||
eval("\"\xfd".force_encoding("utf-8"))
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue