on master help sign in
Update tests
9cb43efsharkdp
assets/syntaxes.bin

Binary file not shown.

src/assets.rs−1
@@ -430,7 +430,6 @@ mod tests {
430
430
431 assert_eq!(test.syntax_for_file("test.h"), "C++");
431 assert_eq!(test.syntax_for_file("test.h"), "C++");
432 assert_eq!(test.syntax_for_file("test.sass"), "Sass");
432 assert_eq!(test.syntax_for_file("test.sass"), "Sass");
433− assert_eq!(test.syntax_for_file("test.hs"), "Haskell (improved)");
434 assert_eq!(test.syntax_for_file("test.js"), "JavaScript (Babel)");
433 assert_eq!(test.syntax_for_file("test.js"), "JavaScript (Babel)");
435 }
434 }
436
435
tests/no_duplicate_extensions.rs−3
@@ -8,9 +8,6 @@ fn no_duplicate_extensions() {
8 // The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C,
8 // The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C,
9 // Objective C++
9 // Objective C++
10 "h",
10 "h",
11− // In addition to the standard Haskell syntax in 'Packages', we also ship the 'Cabal'
12− // syntax which comes with a "Haskell (improved)" syntax.
13− "hs",
14 // In addition to the standard JavaScript syntax in 'Packages', we also ship the
11 // In addition to the standard JavaScript syntax in 'Packages', we also ship the
15 // 'Javascript (Babel)' syntax.
12 // 'Javascript (Babel)' syntax.
16 "js",
13 "js",