Skip to content

Commit

Permalink
travis ci should work this time...
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdew committed Nov 15, 2012
1 parent 0fb49e8 commit 7e45975
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test.js
Expand Up @@ -31,7 +31,7 @@ describe('grammar', function() {
parser.parse('insert into bar (id, foo) values (1, "hello")'));
});
it('update bar set foo="hello" where id = 1', function() {
assert.deepEqual({"insert":{"fields":["id","foo"],"values":[1,"hello"]}},
assert.deepEqual({"update":{"table":"bar","set":[{"field":"foo","expr":"hello"}],"where":{"expr":{"op":"=","field":"id","value":1}}}},
parser.parse('update bar set foo="hello" where id=1'));
});
});

0 comments on commit 7e45975

Please sign in to comment.