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

Unified Diff: tests/compiler/dart2js/boolified_operator_test.dart

Issue 2345083003: dart2js: run dartfmt on tests (Closed)
Patch Set: revert another multipart test Created 4 years, 3 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
« no previous file with comments | « tests/compiler/dart2js/benign_error_test.dart ('k') | tests/compiler/dart2js/boolify_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/compiler/dart2js/boolified_operator_test.dart
diff --git a/tests/compiler/dart2js/boolified_operator_test.dart b/tests/compiler/dart2js/boolified_operator_test.dart
index 6a8bd9fdf60abd006e599fa39b654f66616e3c82..d632fed53e03aaa7670804ea50d7682eccc06a2b 100644
--- a/tests/compiler/dart2js/boolified_operator_test.dart
+++ b/tests/compiler/dart2js/boolified_operator_test.dart
@@ -54,29 +54,29 @@ main() {
RegExp regexp = new RegExp('=== true');
asyncTest(() => Future.wait([
- compile(TEST_EQUAL, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('eqB'));
- }),
- compile(TEST_EQUAL_NULL, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('== null'));
- }),
- compile(TEST_LESS, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('ltB'));
- }),
- compile(TEST_LESS_EQUAL, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('leB'));
- }),
- compile(TEST_GREATER, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('gtB'));
- }),
- compile(TEST_GREATER_EQUAL, entry: 'foo', check: (String generated) {
- Expect.isFalse(generated.contains('=== true'));
- Expect.isTrue(generated.contains('geB'));
- }),
- ]));
+ compile(TEST_EQUAL, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('eqB'));
+ }),
+ compile(TEST_EQUAL_NULL, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('== null'));
+ }),
+ compile(TEST_LESS, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('ltB'));
+ }),
+ compile(TEST_LESS_EQUAL, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('leB'));
+ }),
+ compile(TEST_GREATER, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('gtB'));
+ }),
+ compile(TEST_GREATER_EQUAL, entry: 'foo', check: (String generated) {
+ Expect.isFalse(generated.contains('=== true'));
+ Expect.isTrue(generated.contains('geB'));
+ }),
+ ]));
}
« no previous file with comments | « tests/compiler/dart2js/benign_error_test.dart ('k') | tests/compiler/dart2js/boolify_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698