Skip to content

Commit dc7d2f9

Browse files
author
Steve Lee (POWERSHELL HE/HIM) (from Dev Box)
committed
fix gammar
1 parent 6bfe059 commit dc7d2f9

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
@@ -470,7 +470,7 @@ invoked = "uniqueString function"
470470
expectedNoParameters = "User function '%{name}' does not accept parameters"
471471
unknownUserFunction = "Unknown user function '%{name}'"
472472
wrongParamCount = "User function '%{name}' expects %{expected} parameters, but %{got} were provided"
473-
incorrectOutputType = "Output of user function '%{name}' did not returned expected type '%{expected_type}'"
473+
incorrectOutputType = "Output of user function '%{name}' did not return expected type '%{expected_type}'"
474474

475475
[functions.utcNow]
476476
description = "Returns the current UTC time"

0 commit comments

Comments
 (0)