Skip to content

Commit f5f5ac6

Browse files
test: fix regex assertion
1 parent 7a42c05 commit f5f5ac6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/commands/deploy/metadata.nut.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,10 @@ describe('deploy metadata NUTs', () => {
6565
await testkit.expect.filesToBeDeployed(['force-app/main/default/classes/*']);
6666

6767
// no illegal file paths should be generated when using SF_MDAPI_TEMP_DIR
68+
// Users/william.ruemmele/projects/oss/plugin-deploy-retrieve/test_session_1761066173823d94ce455705e3fe5/dreamhouse-lwc/myTempDirectory/2025-10-21T17_03_52.245Z_deploy/metadata/package.xml
6869
expect(
69-
(await getAllFilePaths(join(testkit.projectDir, process.env.SF_MDAPI_TEMP_DIR))).every(
70-
(path) => !/[<>:"/\\|?*]/.test(path)
70+
(await getAllFilePaths(join(testkit.projectDir, process.env.SF_MDAPI_TEMP_DIR))).every((path) =>
71+
/[<>:"/\\|?*]/.test(path)
7172
)
7273
).to.be.true;
7374

0 commit comments

Comments
 (0)