You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by pa...@apache.org on 2015/06/25 19:18:45 UTC

incubator-groovy git commit: doc: fix wrong \' within `-elements (closes #44)

Repository: incubator-groovy
Updated Branches:
  refs/heads/master e6789efdf -> b3baf6410


doc: fix wrong \' within `-elements (closes #44)


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

Branch: refs/heads/master
Commit: b3baf6410fc779bd010b8fea1b268ba3a168ad77
Parents: e6789ef
Author: Christoph Frick <ri...@ofnir.net>
Authored: Thu Jun 25 11:39:01 2015 +0200
Committer: pascalschumacher <pa...@gmx.net>
Committed: Thu Jun 25 19:17:28 2015 +0200

----------------------------------------------------------------------
 src/spec/doc/core-syntax.adoc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-groovy/blob/b3baf641/src/spec/doc/core-syntax.adoc
----------------------------------------------------------------------
diff --git a/src/spec/doc/core-syntax.adoc b/src/spec/doc/core-syntax.adoc
index 309954c..6d523b7 100644
--- a/src/spec/doc/core-syntax.adoc
+++ b/src/spec/doc/core-syntax.adoc
@@ -542,13 +542,13 @@ include::{projectdir}/src/spec/test/SyntaxTest.groovy[tags=dollar_slashy_1,inden
 |Escape character
 
 |Single quoted
-|`\'...'`
+|`'...'`
 |icon:check-empty[]
 |icon:check-empty[]
 |`\`
 
 |Triple single quoted
-|`\'''...\'''`
+|`'''...'''`
 |icon:check-empty[]
 |icon:check[]
 |`\`
@@ -1072,9 +1072,9 @@ But consider the case you want to pass a variable in lieu of the key, to have th
 ----
 include::{projectdir}/src/spec/test/SyntaxTest.groovy[tags=variable_key_1,indent=0]
 ----
-<1> The `key` associated with the `\'Guillaume'` name will actually be the `"key"` string, not the value associated with the `key` variable
-<2> The map doesn't contain the `\'name'` key
-<3> Instead, the map contains a `\'key'` key
+<1> The `key` associated with the `'Guillaume'` name will actually be the `"key"` string, not the value associated with the `key` variable
+<2> The map doesn't contain the `'name'` key
+<3> Instead, the map contains a `'key'` key
 
 [NOTE]
 You can also pass quoted strings as well as keys: +["name": "Guillaume"]+.