Skip to content

Commit

Permalink
update test case of Function
Browse files Browse the repository at this point in the history
  • Loading branch information
gyc567 committed Aug 2, 2016
1 parent 39e1bf3 commit 0863a6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/java/com/github/eric/FunctionTest.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 0863a6b

Please sign in to comment.