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

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

Issue 10829459: Deprecate Math object in corelib in favor of dart:math library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address review comments. Created 8 years, 4 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_stdout_test.dart
diff --git a/tests/standalone/io/process_stdout_test.dart b/tests/standalone/io/process_stdout_test.dart
index a5ca0d3bc6c2d1ff0872d64f90ecadebff38e155..3ade8fe1816566ef117756655843417b688e1843 100644
--- a/tests/standalone/io/process_stdout_test.dart
+++ b/tests/standalone/io/process_stdout_test.dart
@@ -10,6 +10,8 @@
// VMOptions=--short_socket_read --short_socket_write
#import("dart:io");
+#import("dart:math");
+
#source("process_test_util.dart");
void test(Process process, int expectedExitCode) {
@@ -27,7 +29,7 @@ void test(Process process, int expectedExitCode) {
void readData() {
buffer.addAll(input.read());
for (int i = received;
- i < Math.min(data.length, buffer.length) - 1;
+ i < min(data.length, buffer.length) - 1;
i++) {
Expect.equals(data[i], buffer[i]);
}
« no previous file with comments | « tests/standalone/io/process_stderr_test.dart ('k') | tests/standalone/io/web_socket_protocol_processor_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698