You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by cs...@apache.org on 2017/09/22 15:03:42 UTC

[incubator-openwhisk-cli] 07/07: Updating the way we print names in the Cli Fixes #1155 (#2462)

This is an automated email from the ASF dual-hosted git repository.

csantanapr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-openwhisk-cli.git

commit d6ec0043c684ca090de47fefe99bd76338516009
Author: Jesus Alva <ja...@us.ibm.com>
AuthorDate: Thu Sep 21 11:01:33 2017 -0500

    Updating the way we print names in the Cli Fixes #1155 (#2462)
    
    * Changes so that we are more consistent with quoting names that are not bolded when we print statements
    
    * Fixing up tests related to making quoting consistent in our CLI
---
 tests/src/test/scala/system/basic/WskSdkTests.scala               | 2 +-
 tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/src/test/scala/system/basic/WskSdkTests.scala b/tests/src/test/scala/system/basic/WskSdkTests.scala
index df550b8..3e7e3b2 100644
--- a/tests/src/test/scala/system/basic/WskSdkTests.scala
+++ b/tests/src/test/scala/system/basic/WskSdkTests.scala
@@ -95,7 +95,7 @@ class WskSdkTests extends TestHelpers with WskTestHelpers {
     dir.mkdir() should be(true)
 
     wsk.cli(wskprops.overrides ++ Seq("sdk", "install", "iOS"), workingDir = dir).stdout should include(
-      "Downloaded OpenWhisk iOS starter app. Unzip OpenWhiskIOSStarterApp.zip and open the project in Xcode.")
+      "Downloaded OpenWhisk iOS starter app. Unzip 'OpenWhiskIOSStarterApp.zip' and open the project in Xcode.")
 
     val sdk = new File(dir, "OpenWhiskIOSStarterApp.zip")
     sdk.exists() should be(true)
diff --git a/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala b/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala
index c833320..017d4b1 100644
--- a/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala
+++ b/tests/src/test/scala/whisk/core/cli/test/WskWebActionsTests.scala
@@ -61,7 +61,7 @@ class WskWebActionsTests extends TestHelpers with WskTestHelpers with RestUtil w
 
   it should "ensure __ow_headers contains the proper content-type" in withAssetCleaner(wskprops) { (wp, assetHelper) =>
     val name = "webContenttype"
-    val file = Some(TestUtils.getTestActionFilename("echo.js"))
+    val file = Some(TestCLIUtils.getTestActionFilename("echo.js"))
     val bodyContent = JsObject("key" -> "value".toJson)
     val host = getServiceURL()
     val url = s"$host$testRoutePath/$namespace/default/$name.json"

-- 
To stop receiving notification emails like this one, please contact
"commits@openwhisk.apache.org" <co...@openwhisk.apache.org>.