Skip to content

Commit 6e761be

Browse files
committed
fix(tests): 🐛 Update path handling in test for JSON modification
* Changed the path in the `<modify>` tag from `$env:LOCALAPPDATA\tasks-should-not-be-here.json` to `{0}tasks-should-not-be-here.json` for better compatibility.
1 parent 82f1d5e commit 6e761be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/PlasterManifestValidation.Tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ Describe 'Module Error Handling Tests' {
234234
<tags></tags>
235235
</metadata>
236236
<content>
237-
<modify path='$env:LOCALAPPDATA\tasks-should-not-be-here.json' encoding='UTF8'
237+
<modify path='{0}tasks-should-not-be-here.json' encoding='UTF8'
238238
condition="$false">
239239
<replace>
240240
<original>(?s)^(.*)</original>

0 commit comments

Comments
 (0)