aboutsummaryrefslogtreecommitdiffstats
path: root/_pytest/test_formatting.py
blob: dc1d73256d207b9baad26da16e7052b2e6304952 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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