diff --git a/.editorconfig b/.editorconfig index fafe79d54..b2e1ab85b 100644 --- a/.editorconfig +++ b/.editorconfig @@ -15,6 +15,7 @@ indent_size = 4 [*.{xml,json}] charset = utf-8 +indent_size = 2 # Tab indentation (no size specified) [Makefile] diff --git a/src/wormhole.test.c b/src/wormhole.test.c index 4b6fe2d3c..6d531f214 100644 --- a/src/wormhole.test.c +++ b/src/wormhole.test.c @@ -37,6 +37,8 @@ static void test_make_wormholes(CuTest *tc) { test_setup(); setup_wormholes(); btype = test_create_buildingtype("wormhole"); + btype->maxsize = 4; + btype->maxcapacity = 4; match[0] = r1 = test_create_plain(0, 0); match[1] = r2 = test_create_plain(1, 0); make_wormholes(match, 2, btype);