test(watch): use the markdown language alias for the document override

The rcfile language table maps 'markdown' -> .md; 'md' is not a recognized
alias, so the override was ignored and the watch test never saw a document.
This commit is contained in:
nothariharan committed 2026-10-23 17:11:55 +05:30
1 parent b69b32e2f1
commit c1890f376a
1 file changed
+1 -1
+1 -1
View File
@@ -186,7 +186,7 @@ def test_watch_declared_code_updates_graph_on_observer_thread(tmp_path, monkeypa
def test_watch_document_override_marks_semantic_work_instead_of_rebuilding(tmp_path, monkeypatch):
events = pytest.importorskip("watchdog.events")
(tmp_path / ".graphifyrc").write_text("language.tpl=md\n")
(tmp_path / ".graphifyrc").write_text("language.tpl=markdown\n")
source = tmp_path / "notes.tpl"
def change():