mirror of
https://github.com/duke-git/lancet.git
synced 2026-02-09 15:12:26 +08:00
test: add examples for slice package
This commit is contained in:
@@ -257,7 +257,7 @@ func TestFlatten(t *testing.T) {
|
||||
input := [][][]string{{{"a", "b"}}, {{"c", "d"}}}
|
||||
expected := [][]string{{"a", "b"}, {"c", "d"}}
|
||||
|
||||
assert := internal.NewAssert(t, "TestFlattenDeep")
|
||||
assert := internal.NewAssert(t, "TestFlatten")
|
||||
assert.Equal(expected, Flatten(input))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user