@@ -63,9 +63,7 @@ func TestReadValidTextMIMETypeFile(t *testing.T) {
6363 dataCSV : `plain,text/plain,".txt, .ps",[RFC2046][RFC3676][RFC5147]
6464 markdown,text/markdown,".md, .markdown",[RFC7763]
6565 javascript,text/javascript,".js, .mjs., es, .mjs",[RFC9239]
66- html,text/html,none,[RFC21221]
67- xml,text/xml," .xml, .xsd, .ent, .dtd, .mod",[RFC7303]
68- xml,application/xml," .xml, .xsd, .ent, .dtd, .mod",[RFC7303]` ,
66+ html,text/html,none,[RFC21221]` ,
6967 writeChan : make (chan Data ),
7068 expectedMIMETypes : []* ValidMIMEType {
7169 {
@@ -104,48 +102,8 @@ func TestReadValidTextMIMETypeFile(t *testing.T) {
104102 MIMEType : "text/html" ,
105103 Extension : "" ,
106104 },
107- {
108- MIMEType : "text/xml" ,
109- Extension : "xml" ,
110- },
111- {
112- MIMEType : "text/xml" ,
113- Extension : "xsd" ,
114- },
115- {
116- MIMEType : "text/xml" ,
117- Extension : "ent" ,
118- },
119- {
120- MIMEType : "text/xml" ,
121- Extension : "dtd" ,
122- },
123- {
124- MIMEType : "text/xml" ,
125- Extension : "mod" ,
126- },
127- {
128- MIMEType : "application/xml" ,
129- Extension : "xml" ,
130- },
131- {
132- MIMEType : "application/xml" ,
133- Extension : "xsd" ,
134- },
135- {
136- MIMEType : "application/xml" ,
137- Extension : "ent" ,
138- },
139- {
140- MIMEType : "application/xml" ,
141- Extension : "dtd" ,
142- },
143- {
144- MIMEType : "application/xml" ,
145- Extension : "mod" ,
146- },
147105 },
148- expectedTotal : 19 ,
106+ expectedTotal : 9 ,
149107 expectedError : false ,
150108 },
151109 {
0 commit comments