Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lihuiba committed Apr 19, 2024
1 parent 6a84683 commit 8317ed3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fs/test/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ TEST(Tree, node)
node.creat(k1234, (void*)1234);
node.creat(k1234, (void*)2345);
node.creat(k1234, v1234);
EXPECT_EQ(node.size(), 5);
EXPECT_EQ(node.size(), 5ul);

for (auto x: subnodes)
node.mkdir(x);
Expand Down Expand Up @@ -746,8 +746,8 @@ TEST(range_split, sub_range)
EXPECT_FALSE(sr);
sr.assign(0, 233, 1024);
EXPECT_TRUE(sr);
EXPECT_EQ(233, sr.begin());
EXPECT_EQ(233+1024, sr.end());
EXPECT_EQ(233ul, sr.begin());
EXPECT_EQ(233ul+1024ul, sr.end());
sr.clear();
EXPECT_FALSE(sr);
sr.assign(1, 233, 1024);
Expand Down

0 comments on commit 8317ed3

Please sign in to comment.