Skip to content

Commit ccc0f34

Browse files
committed
toolpp: fix FGD test
1 parent 53b0bb0 commit ccc0f34

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

test/toolpp.cpp

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ TEST(toolpp, fgdParseQuake) {
7474
EXPECT_STREQ(fgd.getMainKeyValues().at("Name").data(), "Quake");
7575
EXPECT_STREQ(fgd.getMainKeyValues().at("Palette").data(), "wc.pal");
7676
EXPECT_STREQ(fgd.getMainKeyValues().at("DefaultClass").data(), "func_door");
77-
EXPECT_EQ(fgd.getEntities().size(), 494);
77+
EXPECT_EQ(fgd.getEntities().size(), 106);
7878
}
7979

8080
TEST(toolpp, fgdWrite) {
@@ -157,6 +157,13 @@ TEST(toolpp, fgdWrite) {
157157
158158
@mapsize(-16384, 16384)
159159
160+
@Main =
161+
[
162+
Name: "Quake"
163+
Palette: "wc.pal"
164+
DefaultClass: "func_door"
165+
]
166+
160167
@PointClass
161168
base(Targetname, Angles, Origin)
162169
halfgridsnap

0 commit comments

Comments
 (0)