Fix assertions
Fix assertions

getline reports failure by setting failbit on the stream; it doesn't
return anything convertible to bool

nicholasmalaya/grins,nicholasmalaya/grins,nicholasmalaya/grins,nicholasmalaya/grins