Github user paulk-asert commented on a diff in the pull request:

    https://github.com/apache/groovy/pull/395#discussion_r76335937
  
    --- Diff: src/spec/test/DesignPatternsTest.groovy ---
    @@ -24,7 +24,7 @@ class DesignPatternsTest extends CompilableTestSupport {
             shouldCompile '''
                 // tag::abstract_factory_example1[]
                 class TwoupMessages {
    -                def welcome = 'Welcome to the twoup game, you start with 
$1000'
    +                def welcome = 'Welcome to the twoup game, you start with 
\$1000'
    --- End diff --
    
    It looks like you have changed the single quoted string into a double 
quoted GString. The example uses single quotes but you would need the slash if 
you used double quotes.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to