Skip to content

Commit

Permalink
fix: the suite FS is defaulted if not given (#2979)
Browse files Browse the repository at this point in the history
Signed-off-by: Mattia Lavacca <lavacca.mattia@gmail.com>
  • Loading branch information
mlavacca authored Apr 15, 2024
1 parent 69b5266 commit e634209
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions conformance/conformance.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ func RunConformanceWithOptions(t *testing.T, opts suite.ConformanceOptions) {
require.NoError(t, err, "supplied Implementation details are not valid")
}

// if no FS is provided, use the default Manifests FS
if opts.ManifestFS == nil {
opts.ManifestFS = []fs.FS{&Manifests}
}

t.Log("Running conformance tests with:")
logOptions(t, opts)

Expand Down

0 comments on commit e634209

Please sign in to comment.