Skip to content

Commit

Permalink
chore: Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
twpayne committed Sep 1, 2022
1 parent c24ba9e commit b4c65eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ func cmdUNIX2DOS(ts *testscript.TestScript, neg bool, args []string) {
// goosCondition evaluates cond as a logical OR of GOARCHes or GOOSes enclosed
// in parentheses, returning true if any of them match.
func goosCondition(cond string) (result, valid bool) {
// Interpret the condition as a logical OR of terms in parantheses.
// Interpret the condition as a logical OR of terms in parentheses.
if !strings.HasPrefix(cond, "(") || !strings.HasSuffix(cond, ")") {
result = false
valid = false
Expand Down

0 comments on commit b4c65eb

Please sign in to comment.