Skip to content

Commit

Permalink
sanity check?
Browse files Browse the repository at this point in the history
  • Loading branch information
dave-gray101 committed Feb 28, 2024
1 parent e721b2b commit 2f4a8da
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/http/api_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,9 @@ var _ = Describe("API test", func() {
modelDir = filepath.Join(tmpdir, "models")
err = os.Mkdir(modelDir, 0755)
Expect(err).ToNot(HaveOccurred())
freshEntries, err := os.ReadDir(modelDir)
Expect(err).ToNot(HaveOccurred())
Expect(len(freshEntries)).To(BeZero())

c, cancel = context.WithCancel(context.Background())

Expand Down

0 comments on commit 2f4a8da

Please sign in to comment.