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

Unified Diff: tests/corelib_strong/regexp/ranges-and-escaped-hyphens_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/ranges-and-escaped-hyphens_test.dart
diff --git a/tests/corelib_strong/regexp/ranges-and-escaped-hyphens_test.dart b/tests/corelib_strong/regexp/ranges-and-escaped-hyphens_test.dart
index 5b8611bf555ea3ea4411802fcb491af9f363c7fb..a3cdc06936f4462f34df2e2498fd45512ea23ef2 100644
--- a/tests/corelib_strong/regexp/ranges-and-escaped-hyphens_test.dart
+++ b/tests/corelib_strong/regexp/ranges-and-escaped-hyphens_test.dart
@@ -27,8 +27,7 @@ import 'package:expect/expect.dart';
void main() {
description(
- 'Tests for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=21232">#21232</a>, and related range issues described in bug.'
- );
+ 'Tests for bug <a href="https://bugs.webkit.org/show_bug.cgi?id=21232">#21232</a>, and related range issues described in bug.');
// Basic test for ranges - one to three and five are in regexp, four is not, and '-' should not match
var regexp01 = new RegExp(r"[1-35]+").firstMatch("-12354");
@@ -76,6 +75,7 @@ void main() {
shouldBe(regexp03b, ["+,-"]);
// The actual bug reported.
- var bug21232 = (new RegExp(r"^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$")).hasMatch('@');
+ var bug21232 =
+ (new RegExp(r"^[,:{}\[\]0-9.\-+Eaeflnr-u \n\r\t]*$")).hasMatch('@');
shouldBeFalse(bug21232);
}

Powered by Google App Engine
This is Rietveld 408576698