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 @supports vendor prefixes" test for #403 #552

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

Conversation

LeoniePhiline
Copy link
Contributor

Tests #403 (comment)

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

failures:

---- tests::test_supports_rule stdout ----
thread 'tests::test_supports_rule' panicked at 'assertion failed: `(left == right)`
  left: `"@supports ((-webkit-backdrop-filter: blur(10px))) or ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {\n  .test {\n    foo: bar;\n  }\n}\n"`,
 right: `"@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))) {\n  .test {\n    foo: bar;\n  }\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_supports_rule
             at ./src/lib.rs:12557:5
   6: lightningcss::tests::test_supports_rule::{{closure}}
             at ./src/lib.rs:12343:27
   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_supports_rule

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

None yet

1 participant