stevedlawrence commented on code in PR #878:
URL: https://github.com/apache/daffodil/pull/878#discussion_r1033964161
##########
daffodil-cli/src/it/scala/org/apache/daffodil/CLI/Util.scala:
##########
@@ -384,6 +385,7 @@ object Util {
def expect(matcher: Matcher[_]): Result = expect.expect(matcher)
def expect(string: String): Result = expect.expect(contains(string))
+ def expectEOF(): Result = expect.expect(eof())
Review Comment:
Agreed, I think expecting an EOF is usually going to lead to issues, so
should be avoided in most cases. If it's not part of the CLI integration "API",
it makes it less likely to be used, but it's still possible via
`expect.expect(eof)` if it's really needed.
--
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]