groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [06/50] [abbrv] groovy git commit: fix spec test (closes #531)
Date Wed, 10 May 2017 22:26:34 GMT
fix spec test (closes #531)


Project: http://git-wip-us.apache.org/repos/asf/groovy/repo
Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/2093378c
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/2093378c
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/2093378c

Branch: refs/heads/parrot
Commit: 2093378cdbfc34308386b345b9773818e17b00b6
Parents: a51162f
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sun Apr 30 13:14:24 2017 -0700
Committer: paulk <paulk@asert.com.au>
Committed: Thu May 11 08:04:48 2017 +1000

----------------------------------------------------------------------
 src/spec/test/SyntaxTest.groovy | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/2093378c/src/spec/test/SyntaxTest.groovy
----------------------------------------------------------------------
diff --git a/src/spec/test/SyntaxTest.groovy b/src/spec/test/SyntaxTest.groovy
index 40bfc15..96c3c47 100644
--- a/src/spec/test/SyntaxTest.groovy
+++ b/src/spec/test/SyntaxTest.groovy
@@ -501,8 +501,9 @@ class SyntaxTest extends CompilableTestSupport {
             $$ escaped dollar sign
             \ backslash
             / forward slash
-            $$/ escaped dollar forward slash
-            $/$ escaped closing dollar slashy
+            $/ escaped forward slash
+            $$$/ escaped opening dollar slashy
+            $/$$ escaped closing dollar slashy
         /$
 
         assert [
@@ -512,7 +513,8 @@ class SyntaxTest extends CompilableTestSupport {
             '$ escaped dollar sign',
             '\\ backslash',
             '/ forward slash',
-            '$/ escaped dollar forward slash',
+            '/ escaped forward slash',
+            '$/ escaped opening dollar slashy',
             '/$ escaped closing dollar slashy'
         ].every { dollarSlashy.contains(it) }
         // end::dollar_slashy_1[]


Mime
View raw message