You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openwhisk.apache.org by ra...@apache.org on 2018/07/23 15:12:54 UTC

[incubator-openwhisk-runtime-ruby] 16/19: Replace wrong code snippet existed in the test case

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

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

commit 75c934f2ff2a308ae121ea18ab707a619d46ee84
Author: Kei Sawada <k...@swd.cc>
AuthorDate: Sun Jul 15 01:12:24 2018 +0900

    Replace wrong code snippet existed in the test case
---
 .../scala/actionContainers/Ruby25ActionContainerTests.scala   | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/tests/src/test/scala/actionContainers/Ruby25ActionContainerTests.scala b/tests/src/test/scala/actionContainers/Ruby25ActionContainerTests.scala
index 6622cc0..e3b8f89 100644
--- a/tests/src/test/scala/actionContainers/Ruby25ActionContainerTests.scala
+++ b/tests/src/test/scala/actionContainers/Ruby25ActionContainerTests.scala
@@ -114,12 +114,11 @@ class Ruby25ActionContainerTests extends BasicActionRunnerTests with WskActorSys
 
   override val testLargeInput = {
     TestConfig("""
-        |<?php
-        |function main(array $args) : array {
-        |    echo 'hello stdout';
-        |    error_log('hello stderr');
-        |    return $args;
-        |}
+        |def main(args)
+        |  puts 'hello stdout'
+        |  warn 'hello stderr'
+        |  args
+        |end
       """.stripMargin)
   }