You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@groovy.apache.org by su...@apache.org on 2021/07/30 11:16:07 UTC
[groovy] branch master updated: Fix the failing build
This is an automated email from the ASF dual-hosted git repository.
sunlan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git
The following commit(s) were added to refs/heads/master by this push:
new 69c398c Fix the failing build
69c398c is described below
commit 69c398cab7f735d4bb8778d2b83993bc2067d20f
Author: Daniel Sun <su...@apache.org>
AuthorDate: Fri Jul 30 19:15:53 2021 +0800
Fix the failing build
---
src/spec/test/TraitsSpecificationTest.groovy | 2 +-
.../codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/spec/test/TraitsSpecificationTest.groovy b/src/spec/test/TraitsSpecificationTest.groovy
index 2e1cdd8..a08a76f 100644
--- a/src/spec/test/TraitsSpecificationTest.groovy
+++ b/src/spec/test/TraitsSpecificationTest.groovy
@@ -537,7 +537,7 @@ def c = new Counter()
c.inc()
// end::prefix_postfix[]
'''
- assert message.contains('Postfix expressions on trait fields/properties are not supported')
+ assert message.contains('Postfix expressions on trait fields/properties are not supported')
assert message.contains('Prefix expressions on trait fields/properties are not supported')
}
diff --git a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
index b5f69de..6aec616 100644
--- a/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
+++ b/src/test/org/codehaus/groovy/transform/traitx/TraitASTTransformationTest.groovy
@@ -2128,7 +2128,7 @@ final class TraitASTTransformationTest {
assert v.currentLevel == 3
'''
- assert err =~ 'Postfix expressions on trait fields/properties are not supported in traits'
+ assert err =~ 'Postfix expressions on trait fields/properties are not supported in traits'
}
@Test