Skip to content

Commit

Permalink
Update typo in test error message.
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
  • Loading branch information
alexellis committed Oct 19, 2019
1 parent 7560324 commit 480d121
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion types/function_list_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,10 @@ func Test_GetNamespaces_ProviderGives404(t *testing.T) {
if err != nil {
t.Errorf("%s", err.Error())
}
want := 0
got := len(namespaces)
if len(namespaces) != 0 {
t.Errorf("Namespaces - want: %d, got: %d", 2, len(namespaces))
t.Errorf("Namespaces when 404, want %d, but got: %d", want, got)
}
}

Expand Down

0 comments on commit 480d121

Please sign in to comment.