Improve size of checkboxes. Convert bullet '-' to actual unicode bullets
All checks were successful
CI / test (push) Successful in 3m30s
Lint / test (push) Successful in 27s
Trivy / test (push) Successful in 20s

This commit is contained in:
Miguel Jacq 2025-11-18 18:21:09 +11:00
parent a375be629c
commit 63cf561bfe
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
6 changed files with 431 additions and 11 deletions

View file

@ -141,7 +141,7 @@ def test_enter_on_nonempty_list_continues(qtbot, editor):
ev = QKeyEvent(QKeyEvent.KeyPress, Qt.Key_Return, Qt.NoModifier, "\n")
editor.keyPressEvent(ev)
txt = editor.toPlainText()
assert "\n- " in txt
assert "\n\u2022 " in txt
def test_enter_on_empty_list_marks_empty(qtbot, editor):
@ -154,7 +154,7 @@ def test_enter_on_empty_list_marks_empty(qtbot, editor):
ev = QKeyEvent(QKeyEvent.KeyPress, Qt.Key_Return, Qt.NoModifier, "\n")
editor.keyPressEvent(ev)
assert editor.toPlainText().startswith("- \n")
assert editor.toPlainText().startswith("\u2022 \n")
def test_triple_backtick_autoexpands(editor, qtbot):