Skip to content

Commit

Permalink
Merge pull request #76 from gengo/fix/metadata-test
Browse files Browse the repository at this point in the history
Fix broken test
  • Loading branch information
yugui committed Dec 24, 2015
2 parents 6472055 + 43ad309 commit 49bbcc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions runtime/context_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ func TestAnnotateContext(t *testing.T) {
if !ok || len(md) != 2 {
t.Errorf("Expected 2 metadata items in context; got %v", md)
}
if got, want := md["Foobar"], []string{"Value1"}; !reflect.DeepEqual(got, want) {
t.Errorf("md[\"Foobar\"] = %v; want %v", got, want)
if got, want := md["foobar"], []string{"Value1"}; !reflect.DeepEqual(got, want) {
t.Errorf(`md["foobar"] = %q; want %q`, got, want)
}
if got, want := md["Foo-Baz"], []string{"Value2"}; !reflect.DeepEqual(got, want) {
t.Errorf("md[\"Foo-Baz\"] = %v want %v", got, want)
if got, want := md["foo-baz"], []string{"Value2"}; !reflect.DeepEqual(got, want) {
t.Errorf(`md["foo-baz"] = %q want %q`, got, want)
}
}

0 comments on commit 49bbcc0

Please sign in to comment.