Update tests

This commit is contained in:
sharkdp authored and David Peter committed 2020-05-27 10:09:57 +02:00
1 parent bb18ece8a4
commit 9cb43ef64d
3 files changed
-4

No files matched your search

BIN
View File
Binary file not shown.
-1
View File
@@ -430,7 +430,6 @@ mod tests {
assert_eq!(test.syntax_for_file("test.h"), "C++"); 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.sass"), "Sass");
assert_eq!(test.syntax_for_file("test.hs"), "Haskell (improved)");
assert_eq!(test.syntax_for_file("test.js"), "JavaScript (Babel)"); assert_eq!(test.syntax_for_file("test.js"), "JavaScript (Babel)");
} }
-3
View File
@@ -8,9 +8,6 @@ fn no_duplicate_extensions() {
// The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C, // The '.h' extension currently appears in multiple syntaxes: C, C++, Objective C,
// Objective C++ // Objective C++
"h", "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 // In addition to the standard JavaScript syntax in 'Packages', we also ship the
// 'Javascript (Babel)' syntax. // 'Javascript (Babel)' syntax.
"js", "js",