Files
less.js/packages/test-data/tests-config/debug/linenumbers.less
Matthew Dean 432286970a [Needs reviews!] Mega test refactor (#4378)
* Migrate Less to use valid CSS

* Re-organize test structure

* Lots of test refactoring

* More test updates

* Add restructured tests

* WIP

Signed-off-by: Matthew Dean <matthew-dean@users.noreply.github.com>

* More fixes to tests

* More test fixes

* All tests passing

* WIP fix tests

* Finished fixing browser tests

* Improve test coverage

* Add debug tests

* Add back debug tests to show equal test coverage

* Fix browser tests

* More test coverage

* Fix sourcemap absolute path for CI

* More source map normalization for Windows

* Fix source map normalization

* Another attempted fix for Windows

---------

Signed-off-by: Matthew Dean <matthew-dean@users.noreply.github.com>
2025-12-06 11:28:46 -08:00

33 lines
323 B
Plaintext

@charset "UTF-8";
@import "import/test.less";
.start() {
.test-rule2 {
color: red;
}
}
.mix() {
color: black;
}
.test-rule1 {
.mix();
}
.start();
.mixin_import1();
.mixin_import2();
@debug: 1;
& when (@debug = 1) {
.test-rule {
color: red;
& when (@debug = 1) {
width: 2;
}
}
}