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

Unified Diff: tests/language/double_to_string_as_precision_test.dart

Issue 12212016: Remove Expect from core library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Add deprecation comment for ExpectException and revert one test. Created 7 years, 8 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 | « tests/language/double_to_string_as_precision3_test.dart ('k') | tests/language/double_to_string_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/language/double_to_string_as_precision_test.dart
diff --git a/tests/language/double_to_string_as_precision_test.dart b/tests/language/double_to_string_as_precision_test.dart
index ac91affa6d6f48311f7312a430c54736e56da3f7..4f159f9229e38f1bfc0bb49abb750685696a8edf 100644
--- a/tests/language/double_to_string_as_precision_test.dart
+++ b/tests/language/double_to_string_as_precision_test.dart
@@ -3,6 +3,8 @@
// BSD-style license that can be found in the LICENSE file.
// Test basic integer operations.
+import "package:expect/expect.dart";
+
main() {
Expect.equals("NaN", (double.NAN).toStringAsPrecision(1));
Expect.equals("Infinity", (double.INFINITY).toStringAsPrecision(2));
« no previous file with comments | « tests/language/double_to_string_as_precision3_test.dart ('k') | tests/language/double_to_string_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698