mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
Update vendor dependencies
This commit is contained in:
parent
34a3fe426b
commit
459bb4531f
747 changed files with 89857 additions and 39711 deletions
11
vendor/github.com/golang/protobuf/proto/message_set_test.go
generated
vendored
11
vendor/github.com/golang/protobuf/proto/message_set_test.go
generated
vendored
|
@ -64,3 +64,14 @@ func TestUnmarshalMessageSetWithDuplicate(t *testing.T) {
|
|||
t.Errorf("Combined extension is %q, want %q", got, want)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMarshalMessageSetJSON_UnknownType(t *testing.T) {
|
||||
extMap := map[int32]Extension{12345: Extension{}}
|
||||
got, err := MarshalMessageSetJSON(extMap)
|
||||
if err != nil {
|
||||
t.Fatalf("MarshalMessageSetJSON: %v", err)
|
||||
}
|
||||
if want := []byte("{}"); !bytes.Equal(got, want) {
|
||||
t.Errorf("MarshalMessageSetJSON(%v) = %q, want %q", extMap, got, want)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue