File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33. " $env: SCOOP_HOME \lib\unix.ps1"
44. " $env: SCOOP_HOME \test\Scoop-TestLib.ps1"
55
6- $repo_dir = (Get-Item $MyInvocation.MyCommand.Path ).directory.parent. FullName
6+ $repo_dir = (Get-Item $MyInvocation.MyCommand.Path ).directory.FullName
77
88$repo_files = @ (Get-ChildItem $repo_dir - file - recurse)
99
@@ -154,9 +154,9 @@ describe "manifest-validation" {
154154 beforeall {
155155 $working_dir = setup_working " manifest"
156156 $schema = " $env: SCOOP_HOME /schema.json"
157- Add-Type - Path " $env: SCOOP_HOME \supporting\validator\Newtonsoft.Json.dll"
158- Add-Type - Path " $env: SCOOP_HOME \supporting\validator\Newtonsoft.Json.Schema.dll"
159- Add-Type - Path " $env: SCOOP_HOME \supporting\validator\Scoop.Validator.dll"
157+ Add-Type - Path " $env: SCOOP_HOME \supporting\validator\bin\ Newtonsoft.Json.dll"
158+ Add-Type - Path " $env: SCOOP_HOME \supporting\validator\bin\ Newtonsoft.Json.Schema.dll"
159+ Add-Type - Path " $env: SCOOP_HOME \supporting\validator\bin\ Scoop.Validator.dll"
160160 }
161161
162162 it " Scoop.Validator is available" {
@@ -165,7 +165,7 @@ describe "manifest-validation" {
165165
166166 context " manifest validates against the schema" {
167167 beforeall {
168- $bucketdir = " $psscriptroot /../ "
168+ $bucketdir = " $psscriptroot "
169169 $manifest_files = gci $bucketdir * .json
170170 $validator = new-object Scoop.Validator($schema , $true )
171171 }
You can’t perform that action at this time.
0 commit comments