summaryrefslogtreecommitdiff
path: root/Tests/LibSQL/TestSqlBtreeIndex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/LibSQL/TestSqlBtreeIndex.cpp')
-rw-r--r--Tests/LibSQL/TestSqlBtreeIndex.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Tests/LibSQL/TestSqlBtreeIndex.cpp b/Tests/LibSQL/TestSqlBtreeIndex.cpp
index 3ed41f6f86..fe372c26ad 100644
--- a/Tests/LibSQL/TestSqlBtreeIndex.cpp
+++ b/Tests/LibSQL/TestSqlBtreeIndex.cpp
@@ -208,9 +208,8 @@ void insert_into_and_scan_btree(int num_keys)
SQL::Tuple prev;
for (auto iter = btree->begin(); !iter.is_end(); iter++, count++) {
auto key = (*iter);
- if (prev.size()) {
+ if (prev.size())
EXPECT(prev < key);
- }
auto key_value = key[0].to_int<i32>();
for (auto ix = 0; ix < num_keys; ix++) {
if (keys[ix] == key_value) {