test: make fish_completions_test more robust (#1980)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Use temporary files instead of assuming the current directory is writable. Also, if creating a temporary file still returns an error, prevent the test from failing silently by replacing `log.Fatal` with `t.Fatal`.
authored by Branch Vincent · committed by GitHub · parent 2246fa8 · Browse files · 1 file+13 added−22 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+13 added−22 removed
- other:+13 added−22 removed