Skip to content

Commit 5f11856

Browse files
authored
Spelling (#112)
* spelling: any Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> * spelling: malformed Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
1 parent d378b4b commit 5f11856

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cmd/sqlcmd/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ type SQLCmdArguments struct {
2121
// Whether to trust the server certificate on an encrypted connection
2222
TrustServerCertificate bool `short:"C" help:"Implicitly trust the server certificate without validation."`
2323
DatabaseName string `short:"d" help:"This option sets the sqlcmd scripting variable SQLCMDDBNAME. This parameter specifies the initial database. The default is your login's default-database property. If the database does not exist, an error message is generated and sqlcmd exits."`
24-
UseTrustedConnection bool `short:"E" xor:"uid, auth" help:"Uses a trusted connection instead of using a user name and password to sign in to SQL Server, ignoring any any environment variables that define user name and password."`
24+
UseTrustedConnection bool `short:"E" xor:"uid, auth" help:"Uses a trusted connection instead of using a user name and password to sign in to SQL Server, ignoring any environment variables that define user name and password."`
2525
UserName string `short:"U" xor:"uid" help:"The login name or contained database user name. For contained database users, you must provide the database name option"`
2626
// Files from which to read query text
2727
InputFile []string `short:"i" xor:"input1, input2" type:"existingFile" help:"Identifies one or more files that contain batches of SQL statements. If one or more files do not exist, sqlcmd will exit. Mutually exclusive with -Q/-q."`

pkg/sqlcmd/batch_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ func TestReadString(t *testing.T) {
154154
}
155155
}
156156

157-
func TestReadStringMalformVariable(t *testing.T) {
157+
func TestReadStringMalformedVariable(t *testing.T) {
158158
tests := []string{
159159
"'select $(x'",
160160
"' $((x'",

0 commit comments

Comments
 (0)