mirror of
https://github.com/helix-editor/helix.git
synced 2024-11-22 17:36:19 +04:00
Add a smoke test around loading runtime files.
This test makes sure we can read some amount of data from the runtime folder.
This commit is contained in:
parent
f3db12e240
commit
e09b0f4eff
@ -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())
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user