Index: utils/tests/pub/command_line_config.dart |
diff --git a/utils/tests/pub/command_line_config.dart b/utils/tests/pub/command_line_config.dart |
index 1efd7d1d2b3450a41fdf883ddf6fa59d96cd80c4..2fbc3cd4a068c95156ced36be1c80bc4be47a776 100644 |
--- a/utils/tests/pub/command_line_config.dart |
+++ b/utils/tests/pub/command_line_config.dart |
@@ -5,7 +5,7 @@ |
library command_line_config; |
import 'dart:io'; |
-import 'dart:math'; |
+import 'dart:math' as math; |
import 'package:pathos/path.dart' as path; |
import 'package:unittest/unittest.dart'; |
@@ -92,7 +92,7 @@ class CommandLineConfiguration extends Configuration { |
if (stack.length == 0) return; |
// Figure out the longest path so we know how much to pad. |
- int longest = stack.map((frame) => frame.location.length).reduce(max); |
+ int longest = stack.map((frame) => frame.location.length).reduce(math.max); |
// Print out the stack trace nicely formatted. |
for (var frame in stack) { |