summaryrefslogtreecommitdiffstats
path: root/src/assets.rs
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-11-05 01:41:39 +0800
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-12-11 10:21:05 +0800
commitcfd622d6e1c56ae19954000bbb6e0a88ee6118eb (patch)
tree1433b8bbf66a8c165558ff077190ce8fc7cd2643 /src/assets.rs
parent1c7c9a6b6dba61c1e655e9f5d293edba2b0aa3d2 (diff)
Migrate `SyntaxMapping` impl to new system
Most existing builtins are removed but not yet ported, so the test `user_can_override_builtin_mappings` should fail. It should pass once the old rules have been ported.
Diffstat (limited to 'src/assets.rs')
-rw-r--r--src/assets.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/assets.rs b/src/assets.rs
index 7ce1a8f6..0129f76b 100644
--- a/src/assets.rs
+++ b/src/assets.rs
@@ -441,7 +441,7 @@ mod tests {
fn new() -> Self {
SyntaxDetectionTest {
assets: HighlightingAssets::from_binary(),
- syntax_mapping: SyntaxMapping::builtin(),
+ syntax_mapping: SyntaxMapping::new(),
temp_dir: TempDir::new().expect("creation of temporary directory"),
}
}