Skip to content

Commit

Permalink
Remove tree_sitter_swift reference from wasm build
Browse files Browse the repository at this point in the history
  • Loading branch information
mattmassicotte committed Oct 5, 2022
1 parent 89caf8d commit e02e67f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/SwiftTreeSitterTests/QueryTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import SwiftTreeSitter
import TestTreeSitterSwift

final class QueryTests: XCTestCase {
#if !os(WASI)
func testParseQueryWithSetDirectives() throws {
let language = Language(language: tree_sitter_swift())

Expand Down Expand Up @@ -59,4 +60,5 @@ func main() {

XCTAssertEqual(capture.metadata["abc"], "def")
}
#endif
}

0 comments on commit e02e67f

Please sign in to comment.