Skip to content

Commit 0a0bc8b

Browse files
committed
fixed test
1 parent 38557cf commit 0a0bc8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/34.database.table.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ describe('Database#table()', function () {
291291
columns: ['rowid'],
292292
*rows() { yield* rows; },
293293
});
294-
expect(this.db.prepare('SELECT oid, * FROM b').all())
294+
expect(this.db.prepare('SELECT oid AS oid, * FROM b').all())
295295
.to.deep.equal([{ oid: 1, rowid: 5 }, { oid: 2, rowid: 10 }]);
296296
expect(rows).to.deep.equal([{ rowid: 5 }, { rowid: 10 }]);
297297
});

0 commit comments

Comments
 (0)