Skip to content

Commit 3155464

Browse files
committed
test: trailing nullcols
1 parent 0eedfa2 commit 3155464

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/Feature/ControlFileBuilderTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
1010
->into(
1111
table: 'users',
1212
columns: ['id', 'name', 'email'],
13-
terminatedBy: ',',
14-
optionally: true,
15-
enclosedBy: '"'
13+
trailing: 'TRAILING NULLCOLS'
1614
);
1715

1816
$ctl = new ControlFileBuilder($loader);
@@ -28,6 +26,7 @@
2826
->and($controlFile)->toContain("FIELDS TERMINATED BY ','")
2927
->and($controlFile)->toContain('OPTIONALLY')
3028
->and($controlFile)->toContain("ENCLOSED BY '\"'")
29+
->and($controlFile)->toContain('TRAILING NULLCOLS')
3130
->and($controlFile)->toContain('(')
3231
->and($controlFile)->toContain('id,')
3332
->and($controlFile)->toContain('name,')

0 commit comments

Comments
 (0)