Fix Region.Oversized test
Some checks failed
CMake on multiple platforms / build (Release, cl, cl, windows-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, macos-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, clang, clang++, ubuntu-latest) (push) Has been cancelled
CMake on multiple platforms / build (Release, gcc, g++, ubuntu-latest) (push) Has been cancelled

This commit is contained in:
2026-09-10 21:32:57 -07:00
parent 5d4e239c62
commit f70de19d0d

View File

@@ -70,12 +70,12 @@ TEST(Region, Resizing)
EXPECT_TRUE(region.resize(1ULL << 9));
}
TEST(Region, OverSized)
TEST(Region, Oversized)
{
mimir::init();
mimir::Region region;
EXPECT_TRUE(region.resize(1ULL << 4));
EXPECT_TRUE(region.init(1ULL << 4));
size_t prevSize = region.getSize();
EXPECT_FALSE(region.resize(1ULL << 20));