Skip to content

fix(tests): Add failing "do not remove required -webkit- vendor prefix" test for #537#553

Closed
LeoniePhiline wants to merge 1 commit intoparcel-bundler:masterfrom
LeoniePhiline:fix/537-prefix-removed
Closed

fix(tests): Add failing "do not remove required -webkit- vendor prefix" test for #537#553
LeoniePhiline wants to merge 1 commit intoparcel-bundler:masterfrom
LeoniePhiline:fix/537-prefix-removed

Conversation

@LeoniePhiline
Copy link
Contributor

Tests #537 (comment)

Confirms #537 (comment) by failing with:

failures:

---- tests::test_prefixes stdout ----
thread 'tests::test_prefixes' panicked at 'assertion failed: `(left == right)`
  left: `".foo {\n  backdrop-filter: blur(8px);\n}\n"`,
 right: `".foo {\n  -webkit-backdrop-filter: blur(8px);\n  backdrop-filter: blur(8px);\n}\n"`', src/lib.rs:110:5
stack backtrace:
   0: rust_begin_unwind
             at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/std/src/panicking.rs:578:5
   1: core::panicking::panic_fmt
             at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:67:14
   2: core::panicking::assert_failed_inner
   3: core::panicking::assert_failed
             at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/panicking.rs:228:5
   4: lightningcss::tests::prefix_test
             at ./src/lib.rs:110:5
   5: lightningcss::tests::test_prefixes
             at ./src/lib.rs:12799:5
   6: lightningcss::tests::test_prefixes::{{closure}}
             at ./src/lib.rs:12763:22
   7: core::ops::function::FnOnce::call_once
             at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5
   8: core::ops::function::FnOnce::call_once
             at /rustc/90c541806f23a127002de5b4038be731ba1458ca/library/core/src/ops/function.rs:250:5
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.


failures:
    tests::test_prefixes

@LeoniePhiline LeoniePhiline changed the title Draft: fix(tests): Add missing no-required-prefix-removal test fix(tests): Add missing (failing!) no-required-prefix-removal test Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title fix(tests): Add missing (failing!) no-required-prefix-removal test fix(tests): Add failing "do not remove required vendor prefix" test for #537 Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title fix(tests): Add failing "do not remove required vendor prefix" test for #537 fix(tests): Add failing "do not remove required -webkit- vendor prefix" test for #537 Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant