fixing regex tests
This commit is contained in:
parent
83fa637c43
commit
54276e813c
|
@ -150,9 +150,9 @@ def test_javadoc_to_displayname(inp: str, output: str):
|
|||
assert converted == output.strip()
|
||||
|
||||
@pytest.mark.parametrize(('inp','output'), JAVADOC_TO_DISPLAYNAME)
|
||||
def test_match_input(inp: str, _: str):
|
||||
def test_match_input(inp: str, output: str):
|
||||
assert TEST_PATTERN.find(inp)
|
||||
|
||||
@pytest.mark.parametrize(('inp','output'), JAVADOC_TO_DISPLAYNAME)
|
||||
def test_match_output(_: str, output: str):
|
||||
def test_match_output(inp: str, output: str):
|
||||
assert TEST_PATTERN.find(output)
|
||||
|
|
|
@ -34,9 +34,9 @@ def test_javadoc_to_displayname(inp: str, output: str):
|
|||
|
||||
|
||||
@pytest.mark.parametrize(('inp','output'), NAME_FROM_COMMENT)
|
||||
def test_match_input(inp: str, _: str):
|
||||
def test_match_input(inp: str, output: str):
|
||||
assert TEST_PATTERN.find(inp)
|
||||
|
||||
@pytest.mark.parametrize(('inp','output'), NAME_FROM_COMMENT)
|
||||
def test_match_output(_: str, output: str):
|
||||
def test_match_output(inp: str, output: str):
|
||||
assert TEST_PATTERN.find(output)
|
||||
|
|
Loading…
Reference in New Issue
Block a user