Improve hints when decompressing with no extension
commita26d3d34ce8a22174c3f7e57850c8d77e506bbd7
authorJoão M. Bezerra <marcospb19@hotmail.com>
Sat, 16 Sep 2023 16:44:45 +0000 (16 13:44 -0300)
committerJoão Marcos <marcospb19@hotmail.com>
Sun, 17 Sep 2023 23:05:54 +0000 (17 20:05 -0300)
treeb236dcf84e137e16e701d73ccbc1ae493a0301c2
parentbc1d9457f058785a2df34fc4ba9ea68a7b3d8d33
Improve hints when decompressing with no extension

refactored `check_missing_formats_when_decompressing` to be aware of
missing extensions and unsupported extensions in order to give a more
detailed error message
src/check.rs
src/extension.rs
tests/snapshots/ui__ui_test_err_decompress_missing_extension-2.snap [new file with mode: 0644]
tests/snapshots/ui__ui_test_err_decompress_missing_extension-3.snap [new file with mode: 0644]
tests/snapshots/ui__ui_test_err_decompress_missing_extension.snap
tests/ui.rs