Closed MagicDuck closed 1 month ago
mini.test
screenshot name is prefixed with . when run_file() argument starts with ./
.
./
0.9.5
run:
:lua MiniTest.run_file('./tests/test_something.lua')
Paths should be normalized relative to the parent of tests/
tests/
will results in screenshot names for that test file being prefixed with . so they become hidden files.
Thanks for the issue!
I'll take a look if this is worth fixing or it might be better to document.
This should now be fixed on latest main.
main
sweet, thank you for the blazingly fast fix! 😄
Contributing guidelines
Module(s)
mini.test
Description
screenshot name is prefixed with
.
when run_file() argument starts with./
Neovim version
0.9.5
Steps to reproduce
run:
Expected behavior
Paths should be normalized relative to the parent of
tests/
Actual behavior
will results in screenshot names for that test file being prefixed with
.
so they become hidden files.