1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-08 07:59:16 +00:00

test(uninstall): fix regex assertions for shellcheck SC2076

This commit is contained in:
tw93
2026-02-07 12:32:02 +08:00
parent ce65d95522
commit 9b25260efe

View File

@@ -77,8 +77,8 @@ setup() {
result=$(find_app_files "dev.zed.Zed-Nightly" "Zed Nightly")
[[ "$result" =~ "Library/HTTPStorages/dev.zed.Zed-Preview" ]]
[[ ! "$result" =~ "storage/default/https\+\+\+zed\.dev" ]]
[[ "$result" =~ Library/HTTPStorages/dev\.zed\.Zed-Preview ]]
[[ ! "$result" =~ storage/default/https\+\+\+zed\.dev ]]
}
@test "find_app_files detects multiple naming variants simultaneously" {