We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f85891 commit 8c01c05Copy full SHA for 8c01c05
dsc/tests/dsc_functions.tests.ps1
@@ -295,7 +295,7 @@ Describe 'tests for function expressions' {
295
$out = dsc -l trace config get -i $config_yaml 2>$TestDrive/error.log | ConvertFrom-Json
296
$LASTEXITCODE | Should -Be 2 -Because (Get-Content $TestDrive/error.log -Raw)
297
$out | Should -BeNullOrEmpty -Because "Output should be null or empty"
298
- (Get-Content $TestDrive/error.log -Raw) | Should -Match "The 'utcNow()' function can only be used as a parameter default"
+ (Get-Content $TestDrive/error.log -Raw) | Should -Match "The 'utcNow\(\)' function can only be used as a parameter default"
299
}
300
301
It 'uniqueString function works for: <expression>' -TestCases @(
0 commit comments