1
0

fixing regex tests
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 23s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 21s

This commit is contained in:
Jon Michael Aanes 2025-04-15 10:54:34 +02:00
parent 83fa637c43
commit 54276e813c
2 changed files with 4 additions and 4 deletions

View File

@ -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)

View File

@ -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)