Skip to content

Commit 3ca01a7

Browse files
committed
Slightly improve the test coverage
1 parent afe7a67 commit 3ca01a7

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

compiler-rt/lib/scudo/standalone/tests/allocator_config_test.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ TEST(ScudoAllocatorConfigTest, VerifyOptionalFlags) {
9797
// `ConditionVariableT` is default off.
9898
EXPECT_FALSE(
9999
scudo::PrimaryConfig<TestPrimaryConfig>::hasConditionVariableT());
100+
EXPECT_TRUE(scudo::PrimaryConfig<
101+
TestPrimaryConfigEnableOptionalType>::hasConditionVariableT());
100102
EXPECT_TRUE((std::is_same_v<
101103
typename scudo::PrimaryConfig<
102104
TestPrimaryConfigEnableOptionalType>::ConditionVariableT,

0 commit comments

Comments
 (0)