diff --git a/slice_test.go b/slice_test.go index e30b889..915a1da 100644 --- a/slice_test.go +++ b/slice_test.go @@ -8,12 +8,12 @@ import ( // TestAppend tests Slice.Append. func TestAppend(t *testing.T) { - s := &[]Slice[int]{} + s := &slice.Slice[int]{} s.Append(1) if ok := len(*s) == 1; !ok { t.Fatalf("len(*Slice) != 1") } - s := &[]Slice[int]{} + s = &slice.Slice[int]{} s.Append(1, 2) if ok := len(*s) == 2; !ok { t.Fatalf("len(*Slice) != 2")