Closed WilsonCheng118 closed 2 years ago
After calling run() with extra_args, subsequent run() are called with an appended list of extra_args.
run()
extra_args
require('neotest').run.run({ vim.fn.getcwd(), extra_args = { "-v" } }) require('neotest').run.run(vim.fn.getcwd())
Both calls have output where -v flag is set.
Then make a new call with new extra_args:
require('neotest').run.run({ vim.fn.getcwd(), extra_args = { "-k core" } })
Output shows both -v and -k core are still being applied.
-v
-k core
Running with neotest-python installed.
The bug report template exists for a reason. Please provide the log file and an init.lua to reproduce. I can't reproduce myself.
After calling
run()
withextra_args
, subsequentrun()
are called with an appended list of extra_args.Both calls have output where -v flag is set.
Then make a new call with new extra_args:
Output shows both
-v
and-k core
are still being applied.Running with neotest-python installed.