Skip to content

Commit

Permalink
Fixed typo
Browse files Browse the repository at this point in the history
  • Loading branch information
hknutzen committed Apr 3, 2024
1 parent bd91d57 commit 0490096
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go/pkg/api/path.go
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ func getElementList(val interface{}) ([]ast.Element, error) {
return err
}
if len(l) != 1 {
return fmt.Errorf("Expecting exactly on element in string")
return fmt.Errorf("Expecting exactly one element in string")
}
elements = append(elements, l...)
return nil
Expand Down
4 changes: 2 additions & 2 deletions go/testdata/api/group.t
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@ group:g1 = ;
}
=ERROR=
Error: Expecting exactly on element in string
Error: Expecting exactly one element in string
=END=
############################################################
Expand All @@ -282,7 +282,7 @@ group:g1 = ;
}
=ERROR=
Error: Expecting exactly on element in string
Error: Expecting exactly one element in string
=END=
############################################################
Expand Down

0 comments on commit 0490096

Please sign in to comment.