Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tests): Add failing "do not duplicate existing transition-property vendor prefixes" test for #403 #551

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

LeoniePhiline
Copy link
Contributor

@LeoniePhiline LeoniePhiline commented Jul 26, 2023

Tests #403 (comment)

Confirms #403 (comment) by failing with the following output:

failures:

---- tests::test_transitions stdout ----
thread 'tests::test_transitions' panicked at 'assertion failed: `(left == right)`
  left: `".foo {\n  transition-property: -webkit-backdrop-filter, -webkit-backdrop-filter, backdrop-filter;\n}\n"`,
 right: `".foo {\n  transition-property: -webkit-backdrop-filter, backdrop-filter;\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_transitions
             at ./src/lib.rs:10507:5
   6: lightningcss::tests::test_transitions::{{closure}}
             at ./src/lib.rs:9840:25
   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_transitions

@LeoniePhiline LeoniePhiline changed the title Draft: fix(tests): Add missing no-prefix-duplication test Draft: fix(tests): Add missing no-prefix-duplication test for #403 Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title Draft: fix(tests): Add missing no-prefix-duplication test for #403 Draft: fix(tests): Add missing no-transition-property-prefix-duplication test for #403 Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title Draft: fix(tests): Add missing no-transition-property-prefix-duplication test for #403 fix(tests): Add missing (failing!) no-transition-property-prefix-duplication test for #403 Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title fix(tests): Add missing (failing!) no-transition-property-prefix-duplication test for #403 fix(tests): Add failing "do not duplicate existing transition-property vendor prefixes" test for #403 Jul 26, 2023
@LeoniePhiline LeoniePhiline changed the title fix(tests): Add failing "do not duplicate existing transition-property vendor prefixes" test for #403 fix(tests): Add failing "do not duplicate existing transition-property vendor prefixes" test for #403 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