Skip to content

Commit

Permalink
add more tests
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Sep 21, 2020
1 parent cba1194 commit 5f21c1d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions manage_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,4 +289,6 @@ tag = golang
is.Equal(23, u2.Age)
is.Equal("inhere", u2.UserName)
is.Equal("golang", u2.Subs.Tag)

is.Error(conf.MapStruct("not-exist", u2))
}

0 comments on commit 5f21c1d

Please sign in to comment.