Commit 54dfe365 authored by marja@chromium.org's avatar marja@chromium.org

Fix: test-debug.cc: don't misuse C++.

The test in question (test-debug/LiveEditEnabled) is expected to fail, and it
failed, but because of the wrong reason (the test asserts that the default
isolate is not initialized, SetLiveEditEnabled initialized the default
isolate because it doesn't get one as param). Now it fails because of the right
reason.

R=ulan@chromium.org
BUG=

Review URL: https://codereview.chromium.org/99043004

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18203 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent de96489d
......@@ -7728,7 +7728,7 @@ TEST(LiveEditDisabled) {
v8::internal::FLAG_allow_natives_syntax = true;
LocalContext env;
v8::HandleScope scope(env->GetIsolate());
v8::Debug::SetLiveEditEnabled(false), env->GetIsolate();
v8::Debug::SetLiveEditEnabled(false, env->GetIsolate());
CompileRun("%LiveEditCompareStrings('', '')");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment