Skip to content

Commit d625c0e

Browse files
Fix test to expect corrected -i flag error message
1 parent fdd954c commit d625c0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

cmd/sqlcmd/sqlcmd_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ func TestInvalidCommandLine(t *testing.T) {
169169
commands := []cmdLineTest{
170170
{[]string{"-E", "-U", "someuser"}, "The -E and the -U/-P options are mutually exclusive."},
171171
{[]string{"-L", "-q", `"select 1"`}, "The -L parameter can not be used in combination with other parameters."},
172-
{[]string{"-i", "foo.sql", "-Q", `"select 1"`}, "The i and the -Q options are mutually exclusive."},
172+
{[]string{"-i", "foo.sql", "-Q", `"select 1"`}, "The -i and the -Q options are mutually exclusive."},
173173
{[]string{"-r", "5"}, "'-r 5': Unexpected argument. Argument value has to be one of [0 1]."},
174174
{[]string{"-w", "x"}, "'-w x': value must be greater than 8 and less than 65536."},
175175
{[]string{"-y", "111111"}, "'-y 111111': value must be greater than or equal to 0 and less than or equal to 8000."},

0 commit comments

Comments
 (0)