Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: test/cctest/test-api.cc

Issue 11598014: Object.observe: test mutating an object via the API (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 0a5583bb94ade75c2cf4748436c19efb72e80d37..77fd6db05183c36e4b671ebd89ad93a62be67f1e 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -82,13 +82,6 @@ using ::v8::V8;
using ::v8::Value;
-static void ExpectString(const char* code, const char* expected) {
rossberg 2012/12/18 13:35:58 For consistency, perhaps move the following Expect
- Local<Value> result = CompileRun(code);
- CHECK(result->IsString());
- String::AsciiValue ascii(result);
- CHECK_EQ(expected, *ascii);
-}
-
static void ExpectInt32(const char* code, int expected) {
Local<Value> result = CompileRun(code);
CHECK(result->IsInt32());

Powered by Google App Engine
This is Rietveld 408576698