First commit

This commit is contained in:
Evan Dunbar 2024-09-23 20:43:43 -05:00
commit 8e99061065
47 changed files with 9107 additions and 0 deletions

View file

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