mirror of
https://github.com/elladunbar/tree-sitter-hy.git
synced 2025-11-05 14:59:55 -06:00
Initial commit
This commit is contained in:
commit
a0e03ddd73
31 changed files with 948 additions and 0 deletions
12
bindings/swift/TreeSitterHyTests/TreeSitterHyTests.swift
generated
Normal file
12
bindings/swift/TreeSitterHyTests/TreeSitterHyTests.swift
generated
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
import XCTest
|
||||
import SwiftTreeSitter
|
||||
import TreeSitterHy
|
||||
|
||||
final class TreeSitterHyTests: XCTestCase {
|
||||
func testCanLoadGrammar() throws {
|
||||
let parser = Parser()
|
||||
let language = Language(language: tree_sitter_hy())
|
||||
XCTAssertNoThrow(try parser.setLanguage(language),
|
||||
"Error loading Hy grammar")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue