mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-24 17:40:47 +01:00
1eb948654a
The author of Rails' minitest integration [recommended](https://github.com/zed-extensions/ruby/issues/56#issuecomment-2795010202) using the test name rather than line number. This solves the problem in https://github.com/zed-extensions/ruby/issues/56. Note that everything is within `command`. I first tried using `args`: ```json { "command": "bin/rails", "args": ["test", "$ZED_RELATIVE_FILE -n /$ZED_SYMBOL/"], "tags": ["ruby-test"] } ``` but minitest receives this as: ``` Run options: -n "/\"foo bar\"/" --seed 31855 ``` which doesn't match due to the escaping. Release Notes: - N/A