File: fix-test.patch

package info (click to toggle)
node-mime 4.1.0%2Bdfsg%2B~cs8.97.10-5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,272 kB
  • sloc: javascript: 956; sh: 23; makefile: 17
file content (16 lines) | stat: -rw-r--r-- 468 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: fix test according to Debian's mime types
Author: Yadd <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2025-10-07

--- a/test/mime.test.js
+++ b/test/mime.test.js
@@ -187,7 +187,7 @@
       { input: 'wasm', expected: 'application/wasm' },
     ]);
 
-    testGetExtension(t, mime, [{ input: 'text/xml', expected: 'xml' }]);
+    testGetExtension(t, mime, [{ input: 'application/xml', expected: 'xml' }]);
   });
 
   it('charset parameter', (t) => {