Assert.assertEquals("Parse", error.type);
}
@Test
public void testCannotResolveImport() throws Exception {
URLLessContext context = new URLLessContext(LesserTestCase.class.getClassLoader().getResource("lesser/test/"));
Failure failure = (Failure)lesser.compile(context, "cannotresolveimport.less");
LinkedList<LessError> errors = failure.getErrors();
Assert.assertEquals(1, errors.size());
LessError error = errors.get(0);
Assert.assertEquals(1, error.line);