Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index eb501b0d763c66b5c9696d9a08b2fecaf99b50b9..21de33d09ae8fcdec688d6e8bef2e29f39ae88b5 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -15321,6 +15321,8 @@ |
i::ScopedVector<char> code(1024); |
i::SNPrintF(code, source, "//# sourceURL=eval_url"); |
CHECK(CompileRun(code.start())->IsUndefined()); |
+ i::SNPrintF(code, source, "//@ sourceURL=eval_url"); |
+ CHECK(CompileRun(code.start())->IsUndefined()); |
} |
@@ -15402,6 +15404,8 @@ |
i::ScopedVector<char> code(1024); |
i::SNPrintF(code, source, "//# sourceURL=source_url"); |
CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined()); |
+ i::SNPrintF(code, source, "//@ sourceURL=source_url"); |
+ CHECK(CompileRunWithOrigin(code.start(), "url", 0, 1)->IsUndefined()); |
} |
@@ -15445,6 +15449,8 @@ |
i::ScopedVector<char> code(1024); |
i::SNPrintF(code, source, "//# sourceURL=source_url"); |
+ CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined()); |
+ i::SNPrintF(code, source, "//@ sourceURL=source_url"); |
CHECK(CompileRunWithOrigin(code.start(), "url", 0, 0)->IsUndefined()); |
} |