Skip to content

Commit 6d020d5

Browse files
fix fullscan の判定文字列の TABLE を任意に変更
1 parent 72c178f commit 6d020d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/assertions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ module.exports = function(chai, util) {
262262

263263
function fullscan(records, tables, every) {
264264
const re = new RegExp(
265-
`^SCAN (${(tables || []).join('|') || '\\w+'})`
265+
`^SCAN(?: TABLE)? (${(tables || []).join('|') || '\\w+'})`
266266
);
267267
return records[every ? 'every' : 'some'](record => re.test(record.detail));
268268
}

0 commit comments

Comments
 (0)