Skip to content

Commit

Permalink
SDK: Fix typo in test package error message (#6331)
Browse files Browse the repository at this point in the history
Signed-off-by: Anders Eknert <[email protected]>
  • Loading branch information
anderseknert authored Oct 20, 2023
1 parent da306b6 commit a0ed11b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
func MockBundle(file string, policies map[string]string) func(*Server) error {
return func(s *Server) error {
if !strings.HasPrefix(file, "/bundles/") {
return fmt.Errorf("mock bundle filename must be prefixed with '/bundle/ but got %q", file)
return fmt.Errorf("mock bundle filename must be prefixed with '/bundles/ but got %q", file)
}
s.bundles[file] = policies
return nil
Expand Down

0 comments on commit a0ed11b

Please sign in to comment.