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

Unified Diff: tests/language_strong/div_by_zero_test.dart

Issue 2771453003: Format all tests. (Closed)
Patch Set: Format files Created 3 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
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;
}

Powered by Google App Engine
This is Rietveld 408576698