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

Unified Diff: tests/language/intrinsified_methods_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/intrinsified_methods_test.dart
diff --git a/tests/language/intrinsified_methods_test.dart b/tests/language/intrinsified_methods_test.dart
index c7792eeafc2889dc53e97057c2d70f6e40fbd1de..d828d0cd686ce18c755fdb665f14a2ee2546ce53 100644
--- a/tests/language/intrinsified_methods_test.dart
+++ b/tests/language/intrinsified_methods_test.dart
@@ -4,6 +4,7 @@
// Dart test program for testing the instanceof operation.
library intrinsified_methods_test;
+
import "package:expect/expect.dart";
import 'dart:math';
@@ -22,7 +23,6 @@ testIsNaN() {
Expect.isTrue((double.NAN).isNaN);
}
-
testTrigonometric() {
Expect.approxEquals(1.0, sin(PI / 2.0), 0.0001);
Expect.approxEquals(1.0, cos(0), 0.0001);
@@ -31,7 +31,7 @@ testTrigonometric() {
num foo(int n) {
var x;
- for(var i = 0; i <= n; ++i) {
+ for (var i = 0; i <= n; ++i) {
Expect.equals(2.0, sqrt(4.0));
testIsNegative();
testIsNaN();

Powered by Google App Engine
This is Rietveld 408576698