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 3aed0d3 commit b4b24a0
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 b4b24a0

Please sign in to comment.