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

Unified Diff: tests/corelib_strong/regexp/extended-characters-match_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/corelib_strong/regexp/extended-characters-match_test.dart
diff --git a/tests/corelib_strong/regexp/extended-characters-match_test.dart b/tests/corelib_strong/regexp/extended-characters-match_test.dart
index 31358115ba1f1e599fb2da3d083591b65dc771f8..c11f95e520fdcc7938dbfa3ab71c93bbe327a772 100644
--- a/tests/corelib_strong/regexp/extended-characters-match_test.dart
+++ b/tests/corelib_strong/regexp/extended-characters-match_test.dart
@@ -27,8 +27,7 @@ import 'package:expect/expect.dart';
void main() {
description(
- "This test checks regular expressions using extended (> 255) characters and character classes."
- );
+ "This test checks regular expressions using extended (> 255) characters and character classes.");
shouldBeNull((new RegExp("[\u0100-\u0101]")).firstMatch("a"));
shouldBeNull((new RegExp("[\u0100]")).firstMatch("a"));
@@ -38,7 +37,9 @@ void main() {
assertEquals((new RegExp("[\u0100a]")).firstMatch("a").group(0), "a");
assertEquals((new RegExp("\u0061")).firstMatch("a").group(0), "a");
assertEquals((new RegExp("[a-\u0100]")).firstMatch("a").group(0), "a");
- assertEquals((new RegExp("[\u0100]")).firstMatch("\u0100").group(0), "\u0100");
- assertEquals((new RegExp("[\u0100-\u0101]")).firstMatch("\u0100").group(0), "\u0100");
+ assertEquals(
+ (new RegExp("[\u0100]")).firstMatch("\u0100").group(0), "\u0100");
+ assertEquals(
+ (new RegExp("[\u0100-\u0101]")).firstMatch("\u0100").group(0), "\u0100");
assertEquals((new RegExp("\u0100")).firstMatch("\u0100").group(0), "\u0100");
}

Powered by Google App Engine
This is Rietveld 408576698