Make assertTypeError and assertNoTypeError to support triple quotes string literal with stripMargin.