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:44:31 UTC

[1/2] groovy git commit: fixes groovy/groovy-website#99

Repository: groovy
Updated Branches:
  refs/heads/master 183b8fbf0 -> f7ae00f2f


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

Branch: refs/heads/master
Commit: 0fb89906aa587920d11fae063bba1d1f8fe26254
Parents: 183b8fb
Author: John Wagenleitner <jw...@apache.org>
Authored: Sun Apr 30 10:19:44 2017 -0700
Committer: John Wagenleitner <jw...@apache.org>
Committed: Sun Apr 30 10:35:07 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/0fb89906/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[]
     }
 


[2/2] groovy git commit: fixes groovy/groovy-website#100

Posted by jw...@apache.org.
fixes groovy/groovy-website#100


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

Branch: refs/heads/master
Commit: f7ae00f2f33a130a07de6ac9d9e2f50ff31328e8
Parents: 0fb8990
Author: John Wagenleitner <jw...@apache.org>
Authored: Sun Apr 30 10:30:46 2017 -0700
Committer: John Wagenleitner <jw...@apache.org>
Committed: Sun Apr 30 10:35:08 2017 -0700

----------------------------------------------------------------------
 src/spec/doc/core-syntax.adoc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/groovy/blob/f7ae00f2/src/spec/doc/core-syntax.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index a0815d0..6d3bf45 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -947,7 +947,7 @@ include::{projectdir}/src/spec/test/SyntaxTest.groovy[tags=variable_store_boolea
 `true` and `false` are the only two primitive boolean values.
 But more complex boolean expressions can be represented using <<_bitwise_and_logical_operators,logical operators>>.
 
-In addition, Groovy has <<_the_groovy_truth,special rules>> (often referred to as _Groovy Truth_)
+In addition, Groovy has <<core-semantics.adoc#Groovy-Truth,special rules>> (often referred to as _Groovy Truth_)
 for coercing non-boolean objects to a boolean value.
 
 == Lists