diff options
-rw-r--r-- | _pytest/test_formatting.py | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/_pytest/test_formatting.py b/_pytest/test_formatting.py new file mode 100644 index 0000000..dc1d732 --- /dev/null +++ b/_pytest/test_formatting.py @@ -0,0 +1,14 @@ +import pytest + +import wee_slack + + +@pytest.mark.parametrize("text", [ + """ + * an item + * another item + """, + "* Run this command: `find . -name '*.exe'`", +]) +def test_does_not_format(text): + assert wee_slack.render_formatting(text) == text |