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

Unified Diff: runtime/vm/isolate_test.cc

Issue 8401010: Add DART_CHECKVALID (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: '' Created 9 years, 2 months 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
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/isolate_test.cc
===================================================================
--- runtime/vm/isolate_test.cc (revision 969)
+++ runtime/vm/isolate_test.cc (working copy)
@@ -43,10 +43,10 @@
Dart_NewString("testMain"),
0,
NULL);
- EXPECT(Dart_IsValid(result));
+ EXPECT_VALID(result);
EXPECT(Dart_ExceptionOccurred(result));
Dart_Handle exception_result = Dart_GetException(result);
- EXPECT(Dart_IsValid(exception_result));
+ EXPECT_VALID(exception_result);
}
#endif // TARGET_ARCH_IA32.
« no previous file with comments | « runtime/vm/dart_api_impl_test.cc ('k') | runtime/vm/snapshot_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698