Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
python-version: "3.x"

- name: Install Dependencies
run: pip install mkdocs-material pymdown-extensions
run: pip install "mkdocs<2.0" mkdocs-material pymdown-extensions

- name: Build and Deploy Docs
run: mkdocs gh-deploy --force
run: mkdocs gh-deploy --force
8 changes: 4 additions & 4 deletions tests/core_engine/test_language_lens.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ def test_tier_3_lexical_scan(isolated_detector):
# ==============================================================================
def test_tier_4_heuristic_discovery(isolated_detector):
"""Proves the engine can blindly identify a file with no extension."""
import os


# Needs > 20 lines to trigger Tier 4. We inject C-style comments and structure.
# Hardcoded \n newlines to bypass Windows \r\n Universal Newline artifacts in CI
content = (
f"// C-style comment{os.linesep}" * 25
+ f"int main() {{ return 0; }}{os.linesep}" * 5
"// C-style comment\n" * 25
+ "int main() { return 0; }\n" * 5
)

result = isolated_detector.inspect(
Expand Down
Loading