(self)
| 1079 | assert util.format_explanation(expl) == res |
| 1080 | |
| 1081 | def test_fmt_newline(self) -> None: |
| 1082 | expl = "\n".join(['assert "foo" == "bar"', "~- foo", "~+ bar"]) |
| 1083 | res = "\n".join(['assert "foo" == "bar"', " - foo", " + bar"]) |
| 1084 | assert util.format_explanation(expl) == res |
| 1085 | |
| 1086 | def test_fmt_newline_escaped(self) -> None: |
| 1087 | expl = "\n".join(["assert foo == bar", "baz"]) |
nothing calls this directly
no outgoing calls
no test coverage detected