logo

deblob

remove binary executables from a directory git clone https://hacktivis.me/git/deblob.git
commit: ff31ed5e266194af50dcf07fccb6b9c6567ec8b1
parent b7a2db79eb742fce1854c4ed3375ada2f08eab00
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sat, 25 Jun 2022 02:53:26 +0200

main.ha: Put empty file test with the others

Diffstat:

Mmain.ha3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/main.ha b/main.ha @@ -51,6 +51,7 @@ fn is_blob(filename: str) (bool | fs::error | io::error) = { ("test/fixtures/hello.a", true), ("test/fixtures/Elixir.Hex.API.Auth.beam", true), //("test/fixtures/option.rom", true), + ("test/fixtures/empty", false), ]; for (let i = 0z; i < len(tests); i += 1) { @@ -60,8 +61,6 @@ fn is_blob(filename: str) (bool | fs::error | io::error) = { tests[i].0, result, tests[i].1); }; }; - - assert(is_blob("test/fixtures/empty")! == false); }; fn is_excluded(filename: str) bool = {