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

Unified Diff: tests/language/range_analysis_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/range_analysis_test.dart
diff --git a/tests/language/range_analysis_test.dart b/tests/language/range_analysis_test.dart
index 240073eb055ba04cf11402a267c43bd785f1c3eb..5ce5ab7223cb1dabf1eb190c2822364d22ede9f9 100644
--- a/tests/language/range_analysis_test.dart
+++ b/tests/language/range_analysis_test.dart
@@ -40,7 +40,6 @@ foo(n, w) {
return x;
}
-
// Test detection of unsatisfiable constraints.
f(a, b) {
if (a < b) {
@@ -90,7 +89,6 @@ h(n) {
return i;
}
-
test3() {
test_fun(fun) {
Expect.equals(2, fun(0, 1));
@@ -108,13 +106,11 @@ test3() {
for (var i = 0; i < 20; i++) g();
Expect.equals(10, g());
-
Expect.equals(10, h(10));
for (var i = 0; i < 20; i++) h(10);
Expect.equals(10, h(10));
}
-
main() {
test1();
test2();

Powered by Google App Engine
This is Rietveld 408576698