Skip to content

Commit 23d0a38

Browse files
committed
test: Improve unit testing coverage
1 parent 27ea569 commit 23d0a38

File tree

2 files changed

+170
-54
lines changed

2 files changed

+170
-54
lines changed

type_bench_test.go

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,10 @@ func BenchmarkCustomerType_MarshalJSON(b *testing.B) {
149149

150150
c := Parse("2020-08-05 13:14:15.999999999")
151151

152-
model.Customer1 = *NewFormatType[iso8601Type](c)
153-
model.Customer2 = *NewLayoutType[rfc3339Type](c)
152+
model.Customer1 = *NewLayoutType[rfc3339Type](c)
153+
model.Customer2 = *NewLayoutType[w3cType](c)
154+
model.Customer3 = *NewFormatType[iso8601Type](c)
155+
model.Customer4 = *NewFormatType[rssType](c)
154156

155157
model.CreatedAt = NewFormatType[iso8601Type](c)
156158
model.UpdatedAt = NewLayoutType[rfc3339Type](c)

0 commit comments

Comments
 (0)