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

Unified Diff: tests/standalone/io/process_check_arguments_script.dart

Issue 12743005: Revert "Remove Expect from core library." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Reupload (first upload failed). Created 7 years, 9 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
Index: tests/standalone/io/process_check_arguments_script.dart
diff --git a/tests/standalone/io/process_check_arguments_script.dart b/tests/standalone/io/process_check_arguments_script.dart
index 8e8668c5a901f35720c657f52b81b2b106eb8c0f..6e9c086efc3426c0fcf8ce0cdf25d61f24d30769 100644
--- a/tests/standalone/io/process_check_arguments_script.dart
+++ b/tests/standalone/io/process_check_arguments_script.dart
@@ -6,20 +6,6 @@
// one dart process to another using the dart:io process interface.
import "dart:math";
-class Expect {
- static void isTrue(x) {
- if (!x) {
- throw new Error("Not true");
- }
- }
-
- static void equals(x, y) {
- if (x != y) {
- throw new Error("Not equal");
- }
- }
-}
-
main() {
var options = new Options();
Expect.isTrue(options.script.endsWith('process_check_arguments_script.dart'));
« no previous file with comments | « tests/standalone/io/process_broken_pipe_test.dart ('k') | tests/standalone/io/process_check_arguments_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698