Index: test/cctest/test-api.cc |
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc |
index de2c203b8a9e2a8b878b2e50e27d577e15a06299..bcea16f3e9e72f97ca7fc798694c4252a95c49cb 100644 |
--- a/test/cctest/test-api.cc |
+++ b/test/cctest/test-api.cc |
@@ -4195,7 +4195,7 @@ THREADED_TEST(NativeFunctionDeclaration) { |
THREADED_TEST(NativeFunctionDeclarationError) { |
v8::HandleScope handle_scope; |
- const char* name = "nativedecl"; |
+ const char* name = "nativedeclerr"; |
// Syntax error in extension code. |
v8::RegisterExtension(new NativeFunctionExtension(name, |
"native\nfunction foo();")); |
@@ -4207,7 +4207,7 @@ THREADED_TEST(NativeFunctionDeclarationError) { |
THREADED_TEST(NativeFunctionDeclarationErrorEscape) { |
v8::HandleScope handle_scope; |
- const char* name = "nativedecl"; |
+ const char* name = "nativedeclerresc"; |
// Syntax error in extension code - escape code in "native" means that |
// it's not treated as a keyword. |
v8::RegisterExtension(new NativeFunctionExtension( |