From 110de8e0dfff10883e2bcc7ac74213ff16bc3148 Mon Sep 17 00:00:00 2001 From: Fabian Boehm Date: Sun, 10 Sep 2023 20:56:58 +0200 Subject: [PATCH] Harden test Turns out the order wasn't the same on CI as it was on my system. Just match it. --- tests/checks/complete.fish | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/checks/complete.fish b/tests/checks/complete.fish index 42c3404b0..6df757858 100644 --- a/tests/checks/complete.fish +++ b/tests/checks/complete.fish @@ -549,6 +549,6 @@ complete -C'dotty ' rm -r $tmpdir -complete -C'complete --command=fish' | head -n 1 | string replace -rf '\t.*' '' +complete -C'complete --command=fish' | string replace -rf 'fish\t.*' 'fish' # (one "--command=" is okay, we used to get "--command=--command=" # CHECK: --command=fish