Skip to content

Commit 22e0aed

Browse files
committed
tests: attempt build fix for macos
1 parent 71281aa commit 22e0aed

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/test_qbsp.cc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2927,8 +2927,8 @@ TEST(testmapsQ1, liquidIsDetail)
29272927
ASSERT_NE(underwater_it, prt->portals.end());
29282928
ASSERT_NE(above_it, prt->portals.end());
29292929

2930-
EXPECT_EQ(underwater_it->leafnums, twosided<int>(cluster_below_water, cluster_lower_corridor));
2931-
EXPECT_EQ(above_it->leafnums, twosided<int>(cluster_above_water, cluster_upper_corridor));
2930+
EXPECT_EQ(underwater_it->leafnums, (twosided<int>{cluster_below_water, cluster_lower_corridor}));
2931+
EXPECT_EQ(above_it->leafnums, (twosided<int>{cluster_above_water, cluster_upper_corridor}));
29322932
}
29332933

29342934
{
@@ -2982,7 +2982,7 @@ TEST(testmapsQ1, liquidIsDetail)
29822982
ASSERT_NE(underwater_it, prt->portals.end());
29832983
ASSERT_NE(above_it, prt->portals.end());
29842984

2985-
EXPECT_EQ(underwater_it->leafnums, twosided<int>(cluster_below_water, cluster_lower_corridor));
2986-
EXPECT_EQ(above_it->leafnums, twosided<int>(cluster_above_water, cluster_upper_corridor));
2985+
EXPECT_EQ(underwater_it->leafnums, (twosided<int>{cluster_below_water, cluster_lower_corridor}));
2986+
EXPECT_EQ(above_it->leafnums, (twosided<int>{cluster_above_water, cluster_upper_corridor}));
29872987
}
29882988
}

0 commit comments

Comments
 (0)