Skip to content

Commit 1ca6d84

Browse files
author
Ghislain Fourny
committed
Add test
1 parent 875a24b commit 1ca6d84

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,13 @@ def test1(self):
1010
# A more complex, standalone query
1111

1212
seq = rumble.jsoniq("""
13-
%%jsoniq
1413
max(
1514
let $path := "http://www.rumbledb.org/samples/git-archive-small.json"
1615
for $event in json-lines($path)
1716
return 1
1817
)
1918
""");
2019

21-
expected = (1)
20+
expected = [1]
2221

2322
self.assertTrue(json.dumps(seq.json()) == json.dumps(expected))

0 commit comments

Comments
 (0)