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 20:52:41 UTC
groovy git commit: fix spec test (closes #531)
Repository: groovy
Updated Branches:
refs/heads/master f7ae00f2f -> 942cf4eb3
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/942cf4eb
Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/942cf4eb
Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/942cf4eb
Branch: refs/heads/master
Commit: 942cf4eb3e87f2718df490b9e3547f2042720781
Parents: f7ae00f
Author: John Wagenleitner <jw...@apache.org>
Authored: Sun Apr 30 13:14:24 2017 -0700
Committer: John Wagenleitner <jw...@apache.org>
Committed: Sun Apr 30 13:50:10 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/942cf4eb/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[]