mirror of
https://github.com/sharkdp/bat.git
synced 2025-09-01 19:02:22 +01:00
Major restructuring of theme/syntax handling
This commit is contained in:
@@ -19,7 +19,7 @@ fn no_duplicate_extensions() {
|
||||
"sass",
|
||||
];
|
||||
|
||||
let assets = HighlightingAssets::new();
|
||||
let assets = HighlightingAssets::from_binary();
|
||||
|
||||
let mut extensions = HashSet::new();
|
||||
|
||||
|
@@ -18,7 +18,7 @@ struct SyntaxDetectionTest {
|
||||
impl SyntaxDetectionTest {
|
||||
fn new() -> Self {
|
||||
SyntaxDetectionTest {
|
||||
assets: HighlightingAssets::new(),
|
||||
assets: HighlightingAssets::from_binary(),
|
||||
syntax_mapping: SyntaxMapping::new(),
|
||||
temp_dir: TempDir::new("bat_syntax_detection_tests")
|
||||
.expect("creation of temporary directory"),
|
||||
|
Reference in New Issue
Block a user