Skip to content

Commit 9bde9f1

Browse files
committed
Fix small typo in test leading to spaces being swallowed
1 parent f30b435 commit 9bde9f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/foreign_key_batch.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ module.exports = (driver, config, internals) => ({
6565
const foreignKeyDefinition = table.meta
6666
.sql
6767
.match(/"event_type_id"[^,]+/)[0]
68-
.replace(/\s{2,}/g,'')
68+
.replace(/\s{2,}/g,' ')
6969

7070
assert.equal(
7171
foreignKeyDefinition,
72-
'"event_type_id" INTEGERNOT NULL REFERENCES event_type(id) ON DELETE CASCADE'
72+
'"event_type_id" INTEGER NOT NULL REFERENCES event_type(id) ON DELETE CASCADE'
7373
)
7474
/*var column = findByName(columns, 'id');
7575
assert.equal(column.getDataType(), 'INTEGER');

0 commit comments

Comments
 (0)