Skip to content

Commit 51c17d3

Browse files
CopilotTheAngryByrd
andcommitted
Fix integration tests by correcting benchmark file path assertions
Co-authored-by: TheAngryByrd <[email protected]>
1 parent 4e44269 commit 51c17d3

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

tests/MiniScaffold.Tests/Tests.fs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,6 @@ module Tests =
115115
Assert.``NuGet.config exists``
116116
Assert.``Directory.Packages.props exists``
117117
Assert.``README exists``
118-
Assert.``File exists`` "benchmarks/MyLib.1.Benchmarks/MyLib.1.Benchmarks.fsproj"
119-
Assert.``File exists`` "benchmarks/MyLib.1.Benchmarks/Library.Benchmarks.fs"
120-
Assert.``File exists`` "benchmarks/MyLib.1.Benchmarks/Program.fs"
121118
Assert.``File exists`` ".github/workflows/benchmark.yml"
122119
]
123120

@@ -133,6 +130,11 @@ module Tests =
133130
"-n MyCoolLib --githubUsername CoolPersonNo2",
134131
[
135132
yield! projectStructureAsserts
133+
Assert.``File exists``
134+
"benchmarks/MyCoolLib.Benchmarks/MyCoolLib.Benchmarks.fsproj"
135+
Assert.``File exists``
136+
"benchmarks/MyCoolLib.Benchmarks/Library.Benchmarks.fs"
137+
Assert.``File exists`` "benchmarks/MyCoolLib.Benchmarks/Program.fs"
136138
Assert.``project can build target`` "DotnetPack"
137139
Assert.``project can build target`` "BuildDocs"
138140
Assert.``project can build target`` "RunBenchmarks"

0 commit comments

Comments
 (0)