You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by jw...@apache.org on 2017/04/30 17:56:34 UTC
[2/2] groovy git commit: fixes groovy/groovy-website#99
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/3b51510b
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/3b51510b
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/3b51510b
Branch: refs/heads/GROOVY_2_5_X
Commit: 3b51510bb146488916bc05dc0eaa282d6b55b439
Parents: 9106c41
Author: John Wagenleitner <jw...@apache.org>
Authored: Sun Apr 30 10:52:05 2017 -0700
Committer: John Wagenleitner <jw...@apache.org>
Committed: Sun Apr 30 10:55:44 2017 -0700
----------------------------------------------------------------------
src/spec/test/SyntaxTest.groovy | 11 +++++------
1 file changed, 5 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/groovy/blob/3b51510b/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[]
}