Skip to content

Commit

Permalink
fix expected output file location
Browse files Browse the repository at this point in the history
  • Loading branch information
kMutagene committed Feb 27, 2024
1 parent b5cc12d commit fc8db71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/arc-validate.Tests/CLITests/ValidateCommandTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,9 @@ let ``ValidateCommand CLI Tests`` =
fun tool args proc -> Expect.isTrue (proc.Result.Output.Contains("If you can read this in your console, you successfully executed test package v2.0.0!")) (ErrorMessage.withProcessDiagnostics "incorrect console output" proc tool args )
"Ouptput files exist",
fun tool args proc ->
Expect.isTrue (Directory.Exists("fixtures/arcs/inveniotestarc/.arc-validate-results")) (ErrorMessage.withProcessDiagnostics ".arc-validate-results does not exist" proc tool args )
Expect.isTrue (File.Exists("fixtures/arcs/inveniotestarc/.arc-validate-results/test/badge.svg")) (ErrorMessage.withProcessDiagnostics ".arc-validate-results/test/badge.svg does not exist" proc tool args )
Expect.isTrue (File.Exists("fixtures/arcs/inveniotestarc/.arc-validate-results/test/validation_report.xml")) (ErrorMessage.withProcessDiagnostics ".arc-validate-results/test/validation_report.xml does not exist" proc tool args )
Expect.isTrue (Directory.Exists(".arc-validate-results")) (ErrorMessage.withProcessDiagnostics $".arc-validate-results does not exist in {System.Environment.CurrentDirectory}" proc tool args )
Expect.isTrue (File.Exists(".arc-validate-results/test/badge.svg")) (ErrorMessage.withProcessDiagnostics $".arc-validate-results/test/badge.svg does not exist in {System.Environment.CurrentDirectory}" proc tool args )
Expect.isTrue (File.Exists(".arc-validate-results/test/validation_report.xml")) (ErrorMessage.withProcessDiagnostics $".arc-validate-results/test/validation_report.xml does not exist in {System.Environment.CurrentDirectory}" proc tool args )
]
])
testSequenced (testList "package test -i fixtures/arcs/inveniotestarc" [
Expand Down

0 comments on commit fc8db71

Please sign in to comment.