mirror of https://github.com/Wilfred/difftastic/
ci: add Swift tests
parent
fe5cc32fda
commit
a398b9a885
@ -0,0 +1,13 @@
|
||||
|
||||
import XCTest
|
||||
import SwiftTreeSitter
|
||||
import TreeSitterCommonlisp
|
||||
|
||||
final class TreeSitterCommonLispTests: XCTestCase {
|
||||
func testCanLoadGrammar() throws {
|
||||
let parser = Parser()
|
||||
let language = Language(language: tree_sitter_commonlisp())
|
||||
XCTAssertNoThrow(try parser.setLanguage(language),
|
||||
"Error loading CommonLisp grammar")
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue