1
0

fixing regex tests v2
Some checks failed
Run Python tests (through Pytest) / Test (push) Failing after 22s
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:55:27 +02:00
parent 54276e813c
commit 55cc962665
2 changed files with 4 additions and 4 deletions

View File

@ -151,8 +151,8 @@ def test_javadoc_to_displayname(inp: str, output: str):
@pytest.mark.parametrize(('inp','output'), JAVADOC_TO_DISPLAYNAME)
def test_match_input(inp: str, output: str):
assert TEST_PATTERN.find(inp)
assert TEST_PATTERN.search(inp)
@pytest.mark.parametrize(('inp','output'), JAVADOC_TO_DISPLAYNAME)
def test_match_output(inp: str, output: str):
assert TEST_PATTERN.find(output)
assert TEST_PATTERN.search(output)

View File

@ -35,8 +35,8 @@ def test_javadoc_to_displayname(inp: str, output: str):
@pytest.mark.parametrize(('inp','output'), NAME_FROM_COMMENT)
def test_match_input(inp: str, output: str):
assert TEST_PATTERN.find(inp)
assert TEST_PATTERN.search(inp)
@pytest.mark.parametrize(('inp','output'), NAME_FROM_COMMENT)
def test_match_output(inp: str, output: str):
assert TEST_PATTERN.find(output)
assert TEST_PATTERN.search(output)