Repository: groovy Updated Branches: refs/heads/master e823653a0 -> 4d75ac66d
s/Homer Simson/Homer Simpson/ (closes #590) Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/4d75ac66 Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/4d75ac66 Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/4d75ac66 Branch: refs/heads/master Commit: 4d75ac66d73b82790d3ef36317bde684a5fe68ea Parents: e823653 Author: Holger Schröder <[email protected]> Authored: Wed Aug 23 16:08:26 2017 +0200 Committer: John Wagenleitner <[email protected]> Committed: Thu Aug 24 17:22:40 2017 -0700 ---------------------------------------------------------------------- src/spec/test/SyntaxTest.groovy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/4d75ac66/src/spec/test/SyntaxTest.groovy ---------------------------------------------------------------------- diff --git a/src/spec/test/SyntaxTest.groovy b/src/spec/test/SyntaxTest.groovy index 96c3c47..9053452 100644 --- a/src/spec/test/SyntaxTest.groovy +++ b/src/spec/test/SyntaxTest.groovy @@ -263,9 +263,9 @@ class SyntaxTest extends CompilableTestSupport { // tag::quoted_id_with_gstring[] def firstname = "Homer" - map."Simson-${firstname}" = "Homer Simson" + map."Simpson-${firstname}" = "Homer Simpson" - assert map.'Simson-Homer' == "Homer Simson" + assert map.'Simpson-Homer' == "Homer Simpson" // end::quoted_id_with_gstring[] // tag::quoted_id_with_all_strings[]
