diff options
Diffstat (limited to 'test/unit/testSelection.cxx')
-rw-r--r-- | test/unit/testSelection.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/testSelection.cxx b/test/unit/testSelection.cxx index d708607d2..609feaf00 100644 --- a/test/unit/testSelection.cxx +++ b/test/unit/testSelection.cxx @@ -135,7 +135,7 @@ TEST_CASE("SelectionPosition") { TEST_CASE("SelectionSegment") { SECTION("SelectionSegment") { - SelectionSegment ss; + const SelectionSegment ss; REQUIRE(ss.start == invalid); REQUIRE(ss.end == invalid); } @@ -145,7 +145,7 @@ TEST_CASE("SelectionSegment") { TEST_CASE("SelectionRange") { SECTION("SelectionRange") { - SelectionRange sr; + const SelectionRange sr; REQUIRE(sr.anchor == invalid); REQUIRE(sr.caret == invalid); } |