mirror of https://github.com/sharkdp/bat
Fix a double-`close` in the `no_args_doesnt_break` test.
Fix the `no_args_doesnt_break` test to avoid calling `from_raw_fd` twice on the same raw file descriptor, as that cause the file descriptor to be closed twice, which means it could accidentally close some unrelated newly created file descriptor.pull/2678/head
parent
5a240f36b9
commit
319c675f3e
Loading…
Reference in New Issue