Skip to content

Commit

Permalink
fix(test): parse integer result
Browse files Browse the repository at this point in the history
  • Loading branch information
Gary Mathews committed Oct 8, 2019
1 parent 3cff6d9 commit e7d53b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/specs/int.boundary.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('appcelerator.encrypteddatabase', function () {
const resultSet = dbConnection.execute('SELECT id, intValue FROM intTable ORDER BY id');
expect(resultSet.rowCount).toEqual(rows.length);
for (let index = 0; resultSet.isValidRow(); resultSet.next(), index++) {
expect(resultSet.field(1, db.FIELD_TYPE_INT)).toEqual(rows[index]);
expect(parseInt(resultSet.field(1))).toEqual(rows[index]);
}
dbConnection.close();
});
Expand Down

0 comments on commit e7d53b2

Please sign in to comment.