mdeuser commented on a change in pull request #2544: Allow CLI to Save Code
from Action
URL:
https://github.com/apache/incubator-openwhisk/pull/2544#discussion_r144949391
##########
File path: tests/src/test/scala/whisk/core/cli/test/WskBasicUsageTests.scala
##########
@@ -1347,8 +1424,8 @@ class WskBasicUsageTests extends TestHelpers with
WskTestHelpers {
it should "reject commands that are executed with a missing or invalid
parameter or annotation file" in {
val emptyFile = TestUtils.getTestActionFilename("emtpy.js")
val missingFile = "notafile"
- val emptyFileMsg = s"File '$emptyFile' is not a valid file or it does not
exist"
- val missingFileMsg = s"File '$missingFile' is not a valid file or it does
not exist"
+ val emptyFileMsg = s"The file '$emptyFile' does not exist"
Review comment:
Incorrect error message. An empty file actually exists.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services