This commit is contained in:
parent
4deba4be78
commit
df56597332
@ -39,7 +39,7 @@ func TestRestDecreasesLength(t *testing.T) {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestFirstIsNilWhenEmpty(t *testing.T) {
|
func TestFirstIsNilOnlyWhenEmpty(t *testing.T) {
|
||||||
assert.Equal(t, 1, New(3).Conj(2).Conj(1).First())
|
assert.Equal(t, 1, New(3).Conj(2).Conj(1).First())
|
||||||
rapid.Check(t, func(t *rapid.T) {
|
rapid.Check(t, func(t *rapid.T) {
|
||||||
myList := intListGen().Draw(t, "myList")
|
myList := intListGen().Draw(t, "myList")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user