chore: provide missing defaults via

This commit is contained in:
maunzCache
2025-02-16 17:21:39 +01:00
committed by Michael Hoffmann
parent 16ccee9bf5
commit d2dbd9cb78
6 changed files with 133 additions and 1 deletions

View File

@@ -0,0 +1,12 @@
import XCTest
import SwiftTreeSitter
import TreeSitterHcl
final class TreeSitterHclTests: XCTestCase {
func testCanLoadGrammar() throws {
let parser = Parser()
let language = Language(language: tree_sitter_hcl())
XCTAssertNoThrow(try parser.setLanguage(language),
"Error loading Hcl grammar")
}
}