This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new ccf1459fc Fixing test so it runs correctly on Java 17+.
ccf1459fc is described below
commit ccf1459fc411b2c10897d3d9f1b6ebe35b3229cf
Author: Thiago H. de Paula Figueiredo <[email protected]>
AuthorDate: Wed Jan 31 23:33:49 2024 -0300
Fixing test so it runs correctly on Java 17+.
ioc.specs.StrategyRegistrySpec.access to types registered
---
tapestry-ioc/src/test/groovy/ioc/specs/StrategyRegistrySpec.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tapestry-ioc/src/test/groovy/ioc/specs/StrategyRegistrySpec.groovy
b/tapestry-ioc/src/test/groovy/ioc/specs/StrategyRegistrySpec.groovy
index 0b0cde4b1..9bf66cd52 100644
--- a/tapestry-ioc/src/test/groovy/ioc/specs/StrategyRegistrySpec.groovy
+++ b/tapestry-ioc/src/test/groovy/ioc/specs/StrategyRegistrySpec.groovy
@@ -42,7 +42,7 @@ class StrategyRegistrySpec extends Specification {
then:
- sr.types.size == 2
+ sr.types.size() == 2
sr.types.containsAll(List, Map)
}