Update tests

This commit is contained in:
sharkdp 2020-05-27 09:07:18 +02:00 committed by David Peter
parent bb18ece8a4
commit 9cb43ef64d
3 changed files with 0 additions and 4 deletions

BIN
assets/syntaxes.bin vendored

Binary file not shown.

View File

@ -430,7 +430,6 @@ mod tests {
assert_eq!(test.syntax_for_file("test.h"), "C++");
assert_eq!(test.syntax_for_file("test.sass"), "Sass");
assert_eq!(test.syntax_for_file("test.hs"), "Haskell (improved)");
assert_eq!(test.syntax_for_file("test.js"), "JavaScript (Babel)");
}

View File

@ -8,9 +8,6 @@ fn no_duplicate_extensions() {
// The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C,
// Objective C++
"h",
// In addition to the standard Haskell syntax in 'Packages', we also ship the 'Cabal'
// syntax which comes with a "Haskell (improved)" syntax.
"hs",
// In addition to the standard JavaScript syntax in 'Packages', we also ship the
// 'Javascript (Babel)' syntax.
"js",