Skip to content

Commit

Permalink
Merge branch 'develop' into fix/aarch64-strcmp-issue
Browse files Browse the repository at this point in the history
  • Loading branch information
mcakircali committed Dec 25, 2024
2 parents 3dcda7f + 2cf7ebe commit 4b4cf79
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions tests/value/test_value_string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ CASE("Ensure a well defined ordering of strings with other Values()") {
EXPECT(val1.compare(val2) == 0);
EXPECT(val2.compare(val1) == 0);

EXPECT(val1.compare(val3) == -1);
EXPECT(val3.compare(val1) == 1);
EXPECT(val1.compare(val3) < 0);
EXPECT(val3.compare(val1) > 0);

// Check comparisons with other types of data (see test_value_typeordering).

Expand Down
8 changes: 4 additions & 4 deletions tests/value/test_value_typeordering.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ CASE("Every type compares correctly against every other type") {

EXPECT(values[i] < values[j]);
EXPECT(!(values[i] >= values[j]));
EXPECT(values[i].compare(values[j]) == -1);
EXPECT(values[i].compare(values[j]) < 0);

EXPECT(values[j] >= values[i]);
EXPECT(!(values[j] < values[i]));
EXPECT(values[j].compare(values[i]) == 1);
EXPECT(values[j].compare(values[i]) > 0);

sanity_check++;
}
Expand Down Expand Up @@ -123,11 +123,11 @@ CASE("Every type compares correctly against every other type") {

EXPECT(values[i] > values[j]);
EXPECT(!(values[i] <= values[j]));
EXPECT(values[i].compare(values[j]) == 1);
EXPECT(values[i].compare(values[j]) > 0);

EXPECT(values[j] <= values[i]);
EXPECT(!(values[j] > values[i]));
EXPECT(values[j].compare(values[i]) == -1);
EXPECT(values[j].compare(values[i]) < 0);

sanity_check++;
}
Expand Down

0 comments on commit 4b4cf79

Please sign in to comment.