Tests: build without -Wextra warnings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-15 10:13:56 +02:00
co-authored by Claude Opus 5.5
parent cfea9ece99
commit cef7d384bb
3 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ using namespace Qt::StringLiterals;
namespace {
const TextContext Field{.field = true};
const TextContext Field{.field = true, .hasSurroundingText = false, .textBeforeCursor = {}}; // reports no text
// A field with some text already: no auto-shift until a test asks for it.
const TextContext MidSentence{.field = true, .hasSurroundingText = true, .textBeforeCursor = u"so"_s};