Wansmer / treesj

Neovim plugin for splitting/joining blocks of code
MIT License
1k stars 29 forks source link

Fix tests that fail #114

Closed Wansmer closed 1 year ago

Wansmer commented 1 year ago

Fix tests that fail

Certain tests for sql and dart fail, but in these cases the nodes are formatted correctly when the plugin is run manually. TODO: find and fix the problem

Problematic tests:

https://github.com/Wansmer/treesj/blob/3203aa553217921fd4dcb79245f9df07278910b2/tests/langs/dart/join_spec.lua#L43 https://github.com/Wansmer/treesj/blob/3203aa553217921fd4dcb79245f9df07278910b2/tests/langs/dart/split_spec.lua#L43 https://github.com/Wansmer/treesj/blob/3203aa553217921fd4dcb79245f9df07278910b2/tests/langs/sql/split_spec.lua#L25