mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-07-30 23:24:44 +08:00
add a test case
This commit is contained in:
parent
d29fccc521
commit
f3d708d3b6
@ -14,6 +14,18 @@ func TestToBreadcrumb(t *testing.T) {
|
||||
args args
|
||||
wantCrumbs []Breadcrumb
|
||||
}{
|
||||
{
|
||||
name: "empty",
|
||||
args: args{
|
||||
fullpath: "",
|
||||
},
|
||||
wantCrumbs: []Breadcrumb{
|
||||
{
|
||||
Name: "/",
|
||||
Link: "/",
|
||||
},
|
||||
},
|
||||
},
|
||||
{
|
||||
name: "test1",
|
||||
args: args{
|
||||
|
Loading…
Reference in New Issue
Block a user