Skip to content

Commit

Permalink
added assertion to test
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Apr 19, 2024
1 parent 279b05a commit 037f28a
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions document_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ package libopenapi

import (
"bytes"
"errors"
"fmt"
"log/slog"
"os"
Expand Down Expand Up @@ -1367,8 +1366,6 @@ components:
panic(err)
}
_, errs := doc.BuildV3Model()
if len(errs) > 0 {
fmt.Println(errors.Join(errs...))
}
assert.Len(t, errs, 0)

}

0 comments on commit 037f28a

Please sign in to comment.