Add a smoke test around loading runtime files.

This test makes sure we can read some amount of data from the runtime folder.
pull/137/head
Brian Dawn 3 years ago committed by Blaž Hrastnik
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…
Cancel
Save