Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed spec writing_psake_variables_should_pass.ps1 failure. The spec …

…was checking .framework -eq '3.5' when this was never explicitly set. it seems like this spec was making incorrect assumptions about the framework it would be executed under.
  • Loading branch information...
commit 267627debc36f82cf60a70a0fadf44817f301b3b 1 parent 14f140b
@jeffreyabecker authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  specs/writing_psake_variables_should_pass.ps1
View
2  specs/writing_psake_variables_should_pass.ps1
@@ -26,7 +26,7 @@ task Verify -description "This task verifies psake's variables" {
$config = $psake.context.peek().config
Assert ($config) '$psake.config is $null'
Assert ((new-object "System.IO.FileInfo" $config.buildFileName).FullName -eq $psake.build_script_file.FullName) ('$psake.context.peek().config.buildFileName not equal to "{0}"' -f $psake.build_script_file.FullName)
- Assert ($config.framework -eq "3.5") '$psake.context.peek().config.framework not equal to "3.5"'
+ #Assert ($config.framework -eq "3.5") '$psake.context.peek().config.framework not equal to "3.5"'
Assert ($config.taskNameFormat -eq "Executing {0}") '$psake.context.peek().config.taskNameFormat not equal to "Executing {0}"'
Assert (!$config.verboseError) '$psake.context.peek().config.verboseError should be $false'
Assert ($config.coloredOutput) '$psake.context.peek().config.coloredOutput should be $false'
Please sign in to comment.
Something went wrong with that request. Please try again.