| Index: test/cctest/test-api.cc
|
| diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
|
| index 2af9d2ebbcbb23d753f1906853bfa2513c4b6f89..28392db3a59ee7361c92fb254cb7ee52dc76f56f 100644
|
| --- a/test/cctest/test-api.cc
|
| +++ b/test/cctest/test-api.cc
|
| @@ -24563,7 +24563,7 @@ TEST(StreamingUtf8ScriptWithSplitCharactersValidEdgeCases) {
|
| TEST(StreamingUtf8ScriptWithSplitCharactersInvalidEdgeCases) {
|
| // Test cases where a UTF-8 character is split over several chunks. Those
|
| // cases are not supported (the embedder should give the data in big enough
|
| - // chunks), but we shouldn't crash, just produce a parse error.
|
| + // chunks), but we shouldn't crash and parse this just fine.
|
| const char* reference = "\xec\x92\x81";
|
| char chunk1[] =
|
| "function foo() {\n"
|
| @@ -24580,7 +24580,7 @@ TEST(StreamingUtf8ScriptWithSplitCharactersInvalidEdgeCases) {
|
| chunk3[0] = reference[2];
|
| const char* chunks[] = {chunk1, chunk2, chunk3, "foo();", NULL};
|
|
|
| - RunStreamingTest(chunks, v8::ScriptCompiler::StreamedSource::UTF8, false);
|
| + RunStreamingTest(chunks, v8::ScriptCompiler::StreamedSource::UTF8);
|
| }
|
|
|
|
|
|
|