@Test
    void testValidVersions() {
        try {
            parse("version=8");
            parse("version=8-1");
            parse("version =8");
            parse("version = 8");
            parse("version = 8 ");
            parse("version =\t8");
        } catch (Exception e) {
            e.printStackTrace();
            fail();
        }
    }
Unit tests for DefParser.

@author hmusum
@author gjoranv
configgen/src/test/java/com/yahoo/config/codegen/DefParserTest.java