Skip to content

Commit 533cc96

Browse files
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)SteveL-MSFT
authored andcommitted
fix gammar
1 parent 73ae6a4 commit 533cc96

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dsc/tests/dsc_user_functions.tests.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,6 @@ resources:
149149
"@
150150
dsc -l trace config get -i $configYaml 2>$testdrive/error.log | Out-Null
151151
$LASTEXITCODE | Should -Be 2 -Because (Get-Content $testdrive/error.log | Out-String)
152-
(Get-Content $testdrive/error.log -Raw) | Should -BeLike "*Output of user function 'MyFunction.BadFunction' did not returned expected type 'int'*" -Because (Get-Content $testdrive/error.log | Out-String)
152+
(Get-Content $testdrive/error.log -Raw) | Should -BeLike "*Output of user function 'MyFunction.BadFunction' did not return expected type 'int'*" -Because (Get-Content $testdrive/error.log | Out-String)
153153
}
154154
}

dsc_lib/locales/en-us.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ invoked = "uniqueString function"
483483
expectedNoParameters = "User function '%{name}' does not accept parameters"
484484
unknownUserFunction = "Unknown user function '%{name}'"
485485
wrongParamCount = "User function '%{name}' expects %{expected} parameters, but %{got} were provided"
486-
incorrectOutputType = "Output of user function '%{name}' did not returned expected type '%{expected_type}'"
486+
incorrectOutputType = "Output of user function '%{name}' did not return expected type '%{expected_type}'"
487487

488488
[functions.utcNow]
489489
description = "Returns the current UTC time"

0 commit comments

Comments
 (0)