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 ffceb56 commit 0d0282aCopy full SHA for 0d0282a
dsc/tests/dsc_expressions.tests.ps1
@@ -73,7 +73,7 @@ Describe 'Expressions tests' {
73
"@
74
$out = dsc config get -i $yaml 2>&1
75
$LASTEXITCODE | Should -Be 2
76
- $out | Should -BeLike "*ERROR*"
+ ,$out | Should -BeLike "*ERROR*" -Because ($out | Out-String)
77
}
78
79
It 'Multi-line string literals work' {
lib/dsc-lib/src/functions/stdout.rs
@@ -30,7 +30,6 @@ impl Function for Stdout {
30
let result = stdout.to_string();
31
return Ok(Value::String(result));
32
33
- Err(DscError::Parser(t!("functions.stdout.noStdoutAvailable").to_string(),
34
- ))
+ Err(DscError::Parser(t!("functions.stdout.noStdoutAvailable").to_string()))
35
36
0 commit comments