mirror of
https://github.com/safishamsi/graphify.git
synced 2026-10-25 16:22:30 +00:00
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.
(cherry picked from commit c1890f376a)
This commit is contained in:
1 parent
e4d8235378
commit
9c5d56f28f
1 file changed
+1
-1
@@ -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():
|
||||
|
||||
Reference in new issue
Block a user