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

Unified Diff: tests/language/double_to_string_as_fixed_test.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 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/language/double_to_string_as_fixed_test.dart
diff --git a/tests/language/double_to_string_as_fixed_test.dart b/tests/language/double_to_string_as_fixed_test.dart
index fae036365ca72875ccfe97e60f839533cc454173..80dda0cc119766c86085de76a3dc9eac13b85417 100644
--- a/tests/language/double_to_string_as_fixed_test.dart
+++ b/tests/language/double_to_string_as_fixed_test.dart
@@ -85,24 +85,6 @@ class ToStringAsFixedTest {
Expect.equals("1.3", 1.25.toStringAsFixed(1));
Expect.equals("234.2040", 234.20405.toStringAsFixed(4));
Expect.equals("234.2041", 234.2040506.toStringAsFixed(4));
- {
- bool thrown = false;
- try {
- 0.0.toStringAsFixed(-1);
- } catch (e) {
- thrown = true;
- }
- Expect.equals(true, thrown);
- }
- {
- bool thrown = false;
- try {
- 0.0.toStringAsFixed(22);
- } catch (e) {
- thrown = true;
- }
- Expect.equals(true, thrown);
- }
}
}
« no previous file with comments | « tests/language/double_to_string_as_fixed2_test.dart ('k') | tests/language/double_to_string_as_precision2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698