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

Unified Diff: tests/corelib/regexp/capture-3_test.dart

Issue 2763823002: Move spaces from before comments to within comments (Closed)
Patch Set: Fix comments Created 3 years, 9 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/regexp/capture-3_test.dart
diff --git a/tests/corelib/regexp/capture-3_test.dart b/tests/corelib/regexp/capture-3_test.dart
index be935efe0a8c10a4d2f8b995e37a9b10651dae5f..c9b4655214987fc3528dbfe5c562956da667519c 100644
--- a/tests/corelib/regexp/capture-3_test.dart
+++ b/tests/corelib/regexp/capture-3_test.dart
@@ -66,12 +66,12 @@ void main() {
NoHang(new RegExp(r"(((.*)*)*x)Ā")); // Continuation after loop is filtered, so is loop.
NoHang(new RegExp(r"(((.*)*)*Ā)foo")); // Body of loop filtered.
- NoHang(new RegExp(r"Ā(((.*)*)*x)")); // Everything after a filtered character is filtered.
- NoHang(new RegExp(r"(((.*)*)*x)Ā")); // Everything before a filtered character is filtered.
- NoHang(new RegExp(r"[ćăĀ](((.*)*)*x)")); // Everything after a filtered class is filtered.
- NoHang(new RegExp(r"(((.*)*)*x)[ćăĀ]")); // Everything before a filtered class is filtered.
- NoHang(new RegExp(r"[^\x00-\xff](((.*)*)*x)")); // After negated class.
- NoHang(new RegExp(r"(((.*)*)*x)[^\x00-\xff]")); // Before negated class.
+ NoHang(new RegExp(r"Ā(((.*)*)*x)")); // Everything after a filtered character is filtered.
sra1 2017/03/21 03:39:29 revert
+ NoHang(new RegExp(r"(((.*)*)*x)Ā")); // Everything before a filtered character is filtered.
+ NoHang(new RegExp(r"[ćăĀ](((.*)*)*x)")); // Everything after a filtered class is filtered.
+ NoHang(new RegExp(r"(((.*)*)*x)[ćăĀ]")); // Everything before a filtered class is filtered.
+ NoHang(new RegExp(r"[^\x00-\xff](((.*)*)*x)")); // After negated class.
+ NoHang(new RegExp(r"(((.*)*)*x)[^\x00-\xff]")); // Before negated class.
NoHang(new RegExp(r"(?!(((.*)*)*x)Ā)foo")); // Negative lookahead is filtered.
NoHang(new RegExp(r"(?!(((.*)*)*x))Ā")); // Continuation branch of negative lookahead.
NoHang(new RegExp(r"(?=(((.*)*)*x)Ā)foo")); // Positive lookahead is filtered.

Powered by Google App Engine
This is Rietveld 408576698