mirror of
https://gitee.com/dromara/carbon.git
synced 2024-11-29 10:48:04 +08:00
增加单元测试场景
This commit is contained in:
parent
cbece4da2d
commit
90d1c872a4
@ -1110,6 +1110,12 @@ func TestCarbon_Issue255(t *testing.T) {
|
||||
end: Parse("2018-08-28 13:14:59"),
|
||||
want: -23,
|
||||
},
|
||||
{
|
||||
name: "case10",
|
||||
start: Parse("2018-08-28 13:14:59"),
|
||||
end: Parse("2020-08-05 13:14:15"),
|
||||
want: 23,
|
||||
},
|
||||
}
|
||||
|
||||
for _, tt := range tests {
|
||||
|
Loading…
Reference in New Issue
Block a user