markusthoemmes commented on a change in pull request #2291: Add subject with a 
namespace.
URL: 
https://github.com/apache/incubator-openwhisk/pull/2291#discussion_r124534521
 
 

 ##########
 File path: tests/src/test/scala/system/basic/WskBasicTests.scala
 ##########
 @@ -817,8 +788,10 @@ class WskBasicTests
     behavior of "Wsk Namespace CLI"
 
     it should "return a list of exactly one namespace" in {
-        wsk.namespace.list().
-            stdout.lines should have size 2 // headline + namespace
+        val lines = wsk.namespace.list().stdout.lines.toSeq
+        assert(lines.length == 2)
+        assert(lines(0) == "namespaces")
 
 Review comment:
   `lines.head shouldBe "namespaces"`
 
----------------------------------------------------------------
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

Reply via email to