replace comment with an assertion