From 81f0c44d475e57fd56c6d8009e0c88f65d2fd84e Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Thu, 15 May 2025 13:23:59 -0300 Subject: src/scrypt.go: Improve CLI handling, add tests alongside --- tests/integration.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/integration.sh') diff --git a/tests/integration.sh b/tests/integration.sh index e31ae4d..8115ce5 100755 --- a/tests/integration.sh +++ b/tests/integration.sh @@ -13,7 +13,7 @@ test_needs_minimum_salt_length() { trap 'rm -f "$OUT" "$ERR"' EXIT STATUS=0 ./scrypt.bin password salt 1>"$OUT" 2>"$ERR" || STATUS=$? - assert_status 2 + assert_status 1 assert_empty_stdout assert_fgrep_stderr 'salt is too small' rm -f "$OUT" "$ERR" -- cgit v1.2.3