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
1 changed files with 7 additions and 0 deletions
|
@ -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 a new issue