diff --git a/bootstraptest/test_knownbug.rb b/bootstraptest/test_knownbug.rb index 27fe02a66e..97c8e1063c 100644 --- a/bootstraptest/test_knownbug.rb +++ b/bootstraptest/test_knownbug.rb @@ -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")) +}