Poundex commented on code in PR #196:
URL: https://github.com/apache/groovy-geb/pull/196#discussion_r1845408422
##########
module/geb-core/src/test/groovy/geb/module/DateTimeLocalInputSpec.groovy:
##########
@@ -72,10 +71,14 @@ class DateTimeLocalInputSpec extends
GebSpecWithCallbackServer {
input.dateTime = dateTime.plusDays(1)
then:
- input.dateTime == dateTime.plusDays(1)
+ input.dateTime == truncated(dateTime.plusDays(1))
where:
dateTime = LocalDateTime.now()
}
+
+ private static LocalDateTime truncated(LocalDateTime ldt) {
Review Comment:
Yes, this is to truncate the expected values in the tests so they match the
properly truncated actuals
--
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]