mirror of
https://github.com/elladunbar/tree-sitter-zanscript.git
synced 2025-11-05 23:29:54 -06:00
First commit
This commit is contained in:
commit
8e99061065
47 changed files with 9107 additions and 0 deletions
12
bindings/swift/TreeSitterZanscriptTests/TreeSitterZanscriptTests.swift
generated
Normal file
12
bindings/swift/TreeSitterZanscriptTests/TreeSitterZanscriptTests.swift
generated
Normal 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")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue