Fork me on GitHub
#vim
<
2020-02-11
>
Noah Bogart20:02:46

I'm trying out vim-iced, and it's pretty dang slick, but I'm running into trouble running tests on a given file

Noah Bogart20:02:36

I write a failing test, test the file with <Leader>tp, fix the test, and retest the file with <Leader>tp, but the ran test isn't updated

Noah Bogart20:02:35

running a specific test with <Leader>tt works, but it doesn't clear the 🔥 emoji in the gutter

uochan22:02:50

@nbtheduke Did you evaluate the fixed test form? <Leader>tt evaluate the current form automatically, but <Leader>tp don't because the test target is the whole project.

Noah Bogart22:02:08

evaluate with <Leader>et? Yes. <L>tp still references now fully deleted tests and doesn't test anything new

Noah Bogart22:02:31

Also doesn't change if I use <L>eb or <L>eB to reload the whole file

uochan22:02:40

Once evaluated a form, the test var exists in your REPL even if you fully deleted. Could you try <Leader>eU to undefine all, and <Leader>eb to re-evaluate current buffer.

Noah Bogart23:02:34

thank you!

👍 4