Skip to content

Commit ee0a6d6

Browse files
committed
catch2: change the order of variables in assignment
1 parent 7c1d3dd commit ee0a6d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libs/libvtrutil/test/test_strong_id.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ TEST_CASE("StrongIdIterator", "[StrongId/StrongIdIterator]") {
8282
REQUIRE(c_iter[-4] == b);
8383
REQUIRE(c_iter[-5] == a);
8484

85-
REQUIRE((a_iter + 5) == c_iter);
85+
REQUIRE(c_iter == (a_iter + 5));
8686
REQUIRE(a_iter == (c_iter - 5));
8787
a_iter += 5;
8888
REQUIRE(a_iter == c_iter);

0 commit comments

Comments
 (0)