feat: implement first-line-regex

This commit is contained in:
Bedis Nbiba 2024-02-13 07:51:41 +01:00 committed by GitHub
parent 1f196dc67d
commit 7dd096c5f7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 162 additions and 7 deletions

View file

@ -27,6 +27,10 @@ pub fn fixtures_dir() -> &'static Path {
&FIXTURES_DIR
}
pub fn scratch_dir() -> &'static Path {
&SCRATCH_DIR
}
pub fn get_language(name: &str) -> Language {
TEST_LOADER
.load_language_at_path(