From 577f9d983ef50035052bbe2937f218fb4916d9bb Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Tue, 2 Jan 2024 12:36:00 +0100 Subject: [PATCH] portable error check --- main_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main_test.go b/main_test.go index 7fbd98f..bceb8af 100644 --- a/main_test.go +++ b/main_test.go @@ -207,7 +207,7 @@ var invalidtests = []Tests{ { name: "outdir-no-exists", args: base + " -o t/foo/bar/out https://www.kleinanzeigen.de/s-anzeige/first-ad/1 -v", - expect: "mkdir t/foo/bar/out: no such file or directory", + expect: "Failure", exitcode: 1, }, {