diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index e94c154db..929dae112 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -1717,3 +1717,10 @@ fn test_input_edits() { }] ); } + +#[test] +fn test_load_runtime_file() { + // Test to make sure we can load some data from the runtime directory. + let contents = load_runtime_file("rust", "indents.toml").unwrap(); + assert!(!contents.is_empty()) +}