Empty list does not raise error