You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@bigtop.apache.org by rv...@apache.org on 2011/10/04 20:30:40 UTC

svn commit: r1178895 - /incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy

Author: rvs
Date: Tue Oct  4 18:30:39 2011
New Revision: 1178895

URL: http://svn.apache.org/viewvc?rev=1178895&view=rev
Log:
Fixing a difference between GString and String

Modified:
    incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy

Modified: incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy
URL: http://svn.apache.org/viewvc/incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy?rev=1178895&r1=1178894&r2=1178895&view=diff
==============================================================================
--- incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy (original)
+++ incubator/bigtop/branches/hadoop-0.22/bigtop-tests/test-artifacts/hadoop/src/main/groovy/org/apache/bigtop/itest/hadoopexamples/TestHadoopExamples.groovy Tue Oct  4 18:30:39 2011
@@ -110,7 +110,7 @@ class TestHadoopExamples {
   @Parameters
   public static Map<String, Object[]> generateTests() {
     Map<String, Object[]> res = [:];
-    examples.each { k, v -> res[k] = [k, v] as Object[]; }
+    examples.each { k, v -> res[k] = [k.toString(), v.toString()] as Object[]; }
     return res;
   }