groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pa...@apache.org
Subject [08/50] [abbrv] groovy git commit: fixes groovy/groovy-website#99
Date Wed, 10 May 2017 22:26:36 GMT
fixes groovy/groovy-website#99


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

Branch: refs/heads/parrot
Commit: cbd74135336c754885e695998c54f286f322ac5a
Parents: adad2a0
Author: John Wagenleitner <jwagenleitner@apache.org>
Authored: Sun Apr 30 10:19:44 2017 -0700
Committer: paulk <paulk@asert.com.au>
Committed: Thu May 11 08:04:48 2017 +1000

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


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


Mime
View raw message