diff --git a/network/meta_test.go b/network/meta_test.go index b293584a..39130e48 100644 --- a/network/meta_test.go +++ b/network/meta_test.go @@ -16,3 +16,10 @@ func TestNewMeta(t *testing.T) { t.Fatalf("expected '%v', got '%v'", exp, got) } } + +func TestMetaMarshalJSON(t *testing.T) { + _, err := buildExampleMeta().MarshalJSON() + if err != nil { + t.Error("unable to marshal JSON from meta struct") + } +}