このコミットが含まれているのは:
Cory Slep 2018-05-10 12:49:26 +02:00
コミット c85503011e
1個のファイルの変更6行の追加6行の削除

ファイルの表示

@ -3,10 +3,10 @@
package streams
import (
"net/url"
"encoding/json"
"github.com/go-fed/activity/vocab"
"github.com/go-test/deep"
"net/url"
"testing"
)
@ -255,13 +255,13 @@ func TestNulls(t *testing.T) {
expectedUpdate.SetId(*activityIRI)
expectedUpdate.AddObject(expectedNote)
tables := []struct {
name string
expected vocab.Serializer
input string
name string
expected vocab.Serializer
input string
}{
{
name: "JSON with null",
expected: expectedUpdate,
name: "JSON with null",
expected: expectedUpdate,
input: `
{
"@context": "https://www.w3.org/ns/activitystreams",