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

Unified Diff: tests/language_strong/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_strong/range_analysis_test.dart
diff --git a/tests/language_strong/range_analysis_test.dart b/tests/language_strong/range_analysis_test.dart
index 8226a6879011d9d62f10f43f9d49d48309cb6f15..c07b2bf817f9b5c4ab495169e552aad83f4f153f 100644
--- a/tests/language_strong/range_analysis_test.dart
+++ b/tests/language_strong/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