Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
Follow github.com/grpc/grpc-go@87d84117a822934abf612ebd562c28e3ea77f65b
  • Loading branch information
yugui committed Dec 24, 2015
1 parent 5b85003 commit 43ad309
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 43ad309

Please sign in to comment.