From 20b6c42f443001c11bf49db6795f1f67f244e1f4 Mon Sep 17 00:00:00 2001 From: Michael Hirsch Date: Tue, 9 Jul 2024 12:33:54 -0400 Subject: [PATCH] testShort: sometimes path is shortened but not file --- test/TestWindowsCOM.m | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/test/TestWindowsCOM.m b/test/TestWindowsCOM.m index 4a11686..60cbfa7 100644 --- a/test/TestWindowsCOM.m +++ b/test/TestWindowsCOM.m @@ -45,11 +45,7 @@ function test_short_file(tc) for f = [file, stdlib.posix(file)] short = stdlib.fileio.windows_shortname(f); - if lower(getenv("CI")) == "true" - tc.assumeSubstring(short, "VERSIO~1.XML") - else - tc.verifySubstring(short, "VERSIO~1.XML") - end + tc.verifySubstring(short, "~") end tc.verifyEqual(stdlib.canonical(short), stdlib.posix(file))