You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/03/13 22:58:07 UTC
incubator-tinkerpop git commit: Enhance a test.
Repository: incubator-tinkerpop
Updated Branches:
refs/heads/master 08d3e27a0 -> a65b27736
Enhance a test.
Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/a65b2773
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/a65b2773
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/a65b2773
Branch: refs/heads/master
Commit: a65b27736d163f5a5ee3369a52f81c869258e20b
Parents: 08d3e27
Author: Stephen Mallette <sp...@apache.org>
Authored: Fri Mar 13 17:57:52 2015 -0400
Committer: Stephen Mallette <sp...@apache.org>
Committed: Fri Mar 13 17:57:52 2015 -0400
----------------------------------------------------------------------
.../gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/a65b2773/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java
----------------------------------------------------------------------
diff --git a/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java b/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java
index 4d07ead..9bb57d7 100644
--- a/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java
+++ b/gremlin-groovy/src/test/java/org/apache/tinkerpop/gremlin/groovy/jsr223/GremlinGroovyScriptEngineTest.java
@@ -310,6 +310,8 @@ public class GremlinGroovyScriptEngineTest {
} catch (ScriptException se) {
assertEquals(TimeoutException.class, se.getCause().getCause().getClass());
}
+
+ assertEquals(2, engine.eval("1+1"));
}
public static class DenyAll extends GroovyValueFilter {