+1
-1
@@ -43,7 +43,7 @@ func TestReadListElem(t *testing.T) {
|
||||
func TestReadList(t *testing.T) {
|
||||
input := "(1 2 3)"
|
||||
l, err, pos := readList(input, 0, "user")
|
||||
assert.Equal(t, list.New(3).Conj(2).Conj(1), l, "should read list")
|
||||
assert.Equal(t, list.New().Conj(3).Conj(2).Conj(1), l, "should read list")
|
||||
assert.Equal(t, nil, err, "should read without error")
|
||||
assert.Equal(t, len(input), pos, "should read the whole string")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user