1
0
mirror of https://github.com/tw93/Mole.git synced 2026-03-22 20:15:07 +00:00

test(purge): fix glob quoting in path assertion

This commit is contained in:
Tw93
2026-03-18 14:55:26 +08:00
parent 702f299e78
commit 90949f7fdf

View File

@@ -139,7 +139,7 @@ format_purge_target_path "$HOME/www/app/node_modules"
EOF
[ "$status" -eq 0 ]
[[ "$output" == "~/www/app/node_modules" ]]
[[ "$output" == \~/www/app/node_modules ]]
}
@test "filter_nested_artifacts: removes nested node_modules" {