costajohnt opened a new pull request, #71: URL: https://github.com/apache/tapestry-5/pull/71
The type check in `PropertyConduitSpec` "literal evaluation" sits in an if/else inside `then:`. Spock does not treat those as conditions, so the check never ran. With `assert` added, the `"123"` and `"-45"` rows fail because the conduit returns a Long while the expected value was an Integer literal. The rows already expect a property type of Long, so the expected values are now `123L` and `-45L`. Test-only change. PropertyConduitSpec passes (81 tests). Found with [groovyfmt](https://github.com/costajohnt/groovyfmt), a Groovy formatter and linter. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
