groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jwagenleit...@apache.org
Subject groovy git commit: fix spec test (closes #531)
Date Sun, 30 Apr 2017 21:11:23 GMT
Repository: groovy
Updated Branches:
  refs/heads/GROOVY_2_4_X a5992ff54 -> e810f841a


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/e810f841
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/e810f841
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/e810f841

Branch: refs/heads/GROOVY_2_4_X
Commit: e810f841a852fc37187a59a72fb28fa55f10a81d
Parents: a5992ff
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sun Apr 30 13:14:24 2017 -0700
Committer: John Wagenleitner <jwagenleitner@apache.org>
Committed: Sun Apr 30 14:05:31 2017 -0700

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


http://git-wip-us.apache.org/repos/asf/groovy/blob/e810f841/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