Index: tests/language_strong/div_by_zero_test.dart |
diff --git a/tests/language_strong/div_by_zero_test.dart b/tests/language_strong/div_by_zero_test.dart |
index f98c4bf440f283fbbc5623ce1aba1af5fff83c59..cb67d688dd7848c9c26d1b163a0843d5c60124bc 100644 |
--- a/tests/language_strong/div_by_zero_test.dart |
+++ b/tests/language_strong/div_by_zero_test.dart |
@@ -6,16 +6,15 @@ |
import "package:expect/expect.dart"; |
class DivByZeroTest { |
- |
static double divBy(int a, int b) { |
- var result = a/b; |
+ var result = a / b; |
return 1.0 * result; |
} |
static bool moustacheDivBy(int a, int b) { |
var val = null; |
try { |
- val = a~/b; |
+ val = a ~/ b; |
} catch (e) { |
return true; |
} |