Skip to content

Commit 3ae319f

Browse files
authored
ci: run tests (#138)
1 parent db5bceb commit 3ae319f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ jobs:
1919
python-version: ${{ matrix.python-version }}
2020
architecture: x64
2121
- run: make lint
22+
- run: make test

lintlify/linters/test_code_blocks.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,12 @@ def test_extract_md_blocks() -> None:
1818
) == [
1919
_ExtractedMarkdownBlock(
2020
header="python",
21-
body="""
22-
print("hello")
21+
body="""print("hello")
2322
""",
2423
),
2524
_ExtractedMarkdownBlock(
2625
header="python HEY",
27-
body="""
28-
import os
26+
body="""import os
2927
""",
3028
),
3129
]

0 commit comments

Comments
 (0)