@Test
public void parsing_a_number_generates_a_correct_filename_line_and_position() {
Message result = parse("\n\n 32", "numx.sp");
assertEquals("numx.sp", result.filename());
assertEquals(3, result.line());
assertEquals(1, result.position());
}
private static Message msg(String name) {
return NamedMessage.create(name, null, null, null, -1, -1, new StaticScope(null));