From 4012f3ba556d4bf325a3287cece0b6e4efea0041 Mon Sep 17 00:00:00 2001 From: "Rong \"Mantle\" Bao" Date: Wed, 4 Jun 2025 13:38:26 +0800 Subject: [PATCH] fix: adapt cmdline assert for nushell/nushell#15881 --- tests/common.nu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common.nu b/tests/common.nu index a7a84e526..e488ed3d4 100644 --- a/tests/common.nu +++ b/tests/common.nu @@ -74,7 +74,7 @@ export def check-common-install [install_dir = $USER_INSTALL_DIR: string] { assert greater ($contents | length) 3 assert equal ($PROFILE | path exists) true assert equal ($profile | get profiles.0.icon | path exists) true - assert equal ($profile | get profiles.0.commandline | path exists) true + assert equal ($profile | get profiles.0.commandline | str trim --char '"' | path exists) true print $'(ansi g)Windows Terminal Profile setup successfully...(ansi reset)' assert equal ($BINS | all {|it| $it in ($bins | get name) }) true print $'(ansi g)Nu binaries installed successfully...(ansi reset)'