Fix compilation on VS2013.

This worked on my other VS2013 installation, hrm!
Replace assertEnd() with remaining().