on master help sign in
Add a smoke test around loading runtime files.
e09b0f4Brian Dawn
helix-core/src/syntax.rs+7
@@ -1717,3 +1717,10 @@ fn test_input_edits() {
1717 }]
1717 }]
1718 );
1718 );
1719}
1719}
1720+
1721+#[test]
1722+fn test_load_runtime_file() {
1723+ // Test to make sure we can load some data from the runtime directory.
1724+ let contents = load_runtime_file("rust", "indents.toml").unwrap();
1725+ assert!(!contents.is_empty())
1726+}