fix: allow duplicate selectors in scope, coz its safe to have them, coz hashing isnt affected by selector position

This commit is contained in:
Yiffy Dev 2024-12-13 01:26:23 +05:00 • committed by spushk
commit 4fb4efd933
Signed by: spushk
GPG key ID: 7797B761E105E8AA

View file

@ -82,6 +82,8 @@ styly!(module_usage_sass:sass "tests/assets/module-usage.sass");
styly!(module_usage_scss:scss "tests/assets/module-usage.scss");
styly!(use_forwarded_sass:sass "tests/assets/use-forwarded.sass");
styly!(use_forwarded_scss:scss "tests/assets/use-forwarded.scss");
styly!(repeating_selector_sass:sass "tests/assets/repeating-selector.sass");
styly!(repeating_selector_scss:scss "tests/assets/repeating-selector.scss");
#[test]
fn ensure_inline_matches_file() {
@ -154,9 +156,7 @@ mod build_tests {
fn gen_builder() -> SabryBuilder {
let config = gen_config();
let builder = SabryBuilder::new(config);
builder
SabryBuilder::new(config)
}
#[test]