From eee7c3cae72b2a4b8707189dc9f177840ab62cc0 Mon Sep 17 00:00:00 2001 From: Bernard Helyer Date: Fri, 25 Aug 2017 21:12:08 +1200 Subject: [PATCH] testing: Also make the presence of 'macro:' disable defaults. --- src/battery/testing/regular.volt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battery/testing/regular.volt b/src/battery/testing/regular.volt index 1bdc818..906a8ff 100644 --- a/src/battery/testing/regular.volt +++ b/src/battery/testing/regular.volt @@ -124,7 +124,7 @@ public: if (!line.startsWith(btj.prefix)) { break; } - noDefault = line.startsWith(btj.noDefaultPrefix) != 0; + noDefault = line.startsWith(btj.noDefaultPrefix) != 0 || line.startsWith(btj.macroPrefix) != 0; } ifs.close();