test_astyle: Fix test after astyle upgrade
Disambiguate test code snippet a bit where we run astyle on, otherwise
we might hit this case in libastyle which prevents spaces from being
added after the foreach keyword:
if (isCStyle() && (newHeader == &AS_FOREVER || newHeader == &AS_FOREACH)) { if (currentLine.find_first_of("=;", charNum) != string::npos) newHeader = NULL;