Skip to content

Commit 3ed91c4

Browse files
committed
Update expected test case result
The expected result changed after adding a custom `MarshalJSON` to `A11yProfileList` to marshal a single value as a string.
1 parent 00fe7a9 commit 3ed91c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/manifest/metadata_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ func TestMetadataFullJSON(t *testing.T) {
297297
],
298298
"title": {"en": "Title", "fr": "Titre"},
299299
"subtitle": {"en": "Subtitle", "fr": "Sous-titre"},
300-
"accessibility": {"conformsTo": ["http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aa"]},
300+
"accessibility": {"conformsTo": "http://www.idpf.org/epub/a11y/accessibility-20170105.html#wcag-aa"},
301301
"tdm": {"policy": "https://provider.com/policies/policy.json", "reservation": "all"},
302302
"modified": "2001-01-01T12:36:27.123Z",
303303
"published": "2001-01-02T12:36:27Z",

0 commit comments

Comments
 (0)