September 2017 Update
This commit is contained in:
parent
bba7bfd280
commit
ba8067c3b7
14570 changed files with 153136 additions and 63871 deletions
8
Task/Test-a-function/Jq/test-a-function-2.jq
Normal file
8
Task/Test-a-function/Jq/test-a-function-2.jq
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
$ jq --run-tests < jq.tests
|
||||
|
||||
Testing '.' at line number 3
|
||||
Testing '1+1' at line number 8
|
||||
Testing '1+1' at line number 13
|
||||
*** Expected 0, but got 2 for test at line number 15: 1+1
|
||||
Testing 'def factorial: if . <= 0 then 1 else . * ((. - 1) | factorial) end; factorial' at line number 18
|
||||
3 of 4 tests passed (0 malformed)
|
||||
Loading…
Add table
Add a link
Reference in a new issue