Skip to content

Commit

Permalink
Fix 3rd party dependency that's breaking the build (#655)
Browse files Browse the repository at this point in the history
* Fix 3rd party dependency that's breaking the build

* Fixing test because some grammar changed
  • Loading branch information
danieltrt authored Mar 28, 2024
1 parent d35e8dc commit 715fca9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ env_logger = "0.10.0"
tempdir = "0.3"
serde_json = "1.0.82"

tree-sitter-kotlin = { git = "https://github.com/fwcd/tree-sitter-kotlin.git" }
tree-sitter-kotlin = "0.3.1"
tree-sitter-java = "0.20.2"
# TODO: Update after: https://github.com/alex-pinkus/tree-sitter-swift/issues/278 resolves
tree-sitter-swift = { git = "https://github.com/satyam1749/tree-sitter-swift.git", rev = "08a28993599f1968bc81631a89690503e1db7704" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,5 +115,5 @@ def test_rule_simplification():
assert (
rule.query == """((identifier ) @tag1n\n(#eq? @tag1n "flag"))"""
and rule.replace_node == """tag1n"""
and rule.replace == """\"replaced\""""
and rule.replace == """\" replaced \""""
)

0 comments on commit 715fca9

Please sign in to comment.