SomMeri/less4j — pull request #2 by alexo (2012-08-05 10:14:18+00:00)
Title: Testupdate

Update LessTransformerTest to use CssPrinter.
Add @Ignore to tests using rhino based processor and run only the one based on antlr CssPrinter.
Move most of resources which fails to a separate folder (called fail).
Leave only one failing less resource in the test folder.

The purpose is to make this test pass. It proves that the following less is not transformed properly:

Test Less:
#yelow {
#short {
color: #fea;
}
#long {
color: #ffeeaa;
}
#rgba {
color: rgba(255, 238, 170, 0.1);
}
}

Expected Output:
#yelow #short {
color: #fea;
}
#yelow #long {
color: #ffeeaa;
}
#yelow #rgba {
color: rgba(255, 238, 170, 0.1);
}

Actual Output:
#short {
color: #fea;
}
#long {
color: #ffeeaa;
}
#rgba {
color: rgba(255, 238, 170, 0.1);
}