From 0863a6b646b5651fcee144948f79341807407dfb Mon Sep 17 00:00:00 2001 From: eric567 Date: Wed, 3 Aug 2016 07:56:27 +0800 Subject: [PATCH] update test case of Function --- src/test/java/com/github/eric/FunctionTest.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/com/github/eric/FunctionTest.groovy b/src/test/java/com/github/eric/FunctionTest.groovy index b409789..988ec05 100644 --- a/src/test/java/com/github/eric/FunctionTest.groovy +++ b/src/test/java/com/github/eric/FunctionTest.groovy @@ -31,7 +31,7 @@ class FunctionTest extends Specification { function.getArgs().get(1)==2 function2.getReslut()==3 } - def "eval #function -"() { + def "eval #function -,(- 5 2 )"() { given: "vp instance with (- 5 2 )" ValuePair vp = new ValuePair("-", new ValuePair(5, 2)) when:"call eval method of Function"