Przeglądaj źródła

Fix broken test from last merge.

Gustavo Niemeyer 8 lat temu
rodzic
commit
119a11e437
1 zmienionych plików z 0 dodań i 1 usunięć
  1. 0 1
      decode_test.go

+ 0 - 1
decode_test.go

@@ -826,7 +826,6 @@ var unmarshalErrorTests = []struct {
 	{"v: [A,", "yaml: line 1: did not find expected node content"},
 	{"v:\n- [A,", "yaml: line 2: did not find expected node content"},
 	{"a:\n- b: *,", "yaml: line 2: did not find expected alphabetic or numeric character"},
-	{"a:\n- {b: c, d:e},", "yaml: line 2: found unexpected ':'"},
 	{"a: *b\n", "yaml: unknown anchor 'b' referenced"},
 	{"a: &a\n  b: *a\n", "yaml: anchor 'a' value contains itself"},
 	{"value: -", "yaml: block sequence entries are not allowed in this context"},