Changes assertion code