Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewLarner committed Nov 12, 2014
1 parent 77f2c4b commit 3d243ea
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1065,6 +1065,14 @@ test('(fold 1,2,3 0 +)', function (t) {
);
t.end();
});
test.only('(apply merge (array {"foo" : {"stuff" : (array 1 2 3)}} {"bar" : {"thing" : "stuff"}}))', function (t) {
t.plan(1);
t.equal(
gel.evaluate(t.name, context),
{'bar':{'thing':'stuff'}, 'foo': {'stuff':[1,2,3]}}
);
t.end();
});
test('{"a":1},{"a":2},{"a":3} |> (map _ (* 2 _.a))', function (t) {
t.plan(1);
t.deepEqual(
Expand Down

0 comments on commit 3d243ea

Please sign in to comment.