Skip to content

Commit

Permalink
fix(tests): fix intersect test case
Browse files Browse the repository at this point in the history
  • Loading branch information
DEgITx committed Jul 2, 2018
1 parent 4a0b04d commit 88644ec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/sphinx.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ describe("sphinx", () => {
})

it("insert", function(done) {
sphinx.query("INSERT INTO files(id, hash, path, pathIndex, size) VALUES(1, 'a', 'bashaa', 'bashaa', 50)", (err) => {
sphinx.query("INSERT INTO files(id, hash, path, pathIndex, size) VALUES(50001, 'a', 'bashaa', 'bashaa', 50)", (err) => {
if(err)
throw new Error(err)

sphinx.query("INSERT INTO files(id, hash, path, pathIndex, size) VALUES(2, 'b', 'biotu', 'biotu', 30)", (err) => {
sphinx.query("INSERT INTO files(id, hash, path, pathIndex, size) VALUES(50002, 'b', 'biotu', 'biotu', 30)", (err) => {
if(err)
throw new Error(err)

Expand Down

0 comments on commit 88644ec

Please sign in to comment.