Skip to content

cssparser-macros match_byte doctests fail #364

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

Closed
kalev opened this issue Oct 1, 2023 · 1 comment
Closed

cssparser-macros match_byte doctests fail #364

kalev opened this issue Oct 1, 2023 · 1 comment

Comments

@kalev
Copy link

kalev commented Oct 1, 2023

Latest git master:

$ cargo test
   Compiling cssparser-macros v0.6.1 (/home/kalev/tmp/rust-cssparser/macros)
    Finished test [unoptimized + debuginfo] target(s) in 0.34s
     Running unittests lib.rs (/home/kalev/tmp/rust-cssparser/target/debug/deps/cssparser_macros-7b5b4431cc393af6)

running 0 tests

test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

   Doc-tests cssparser-macros

running 1 test
test macros/lib.rs - match_byte (line 115) ... FAILED

failures:

---- macros/lib.rs - match_byte (line 115) stdout ----
error: cannot find macro `match_byte` in this scope
 --> macros/lib.rs:116:1
  |
3 | match_byte! { tokenizer.next_byte_unchecked(),
  | ^^^^^^^^^^
  |
help: consider importing this macro
  |
2 + use cssparser_macros::match_byte;
  |

error: aborting due to previous error

Couldn't compile the test.

failures:
    macros/lib.rs - match_byte (line 115)

test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s

error: doctest failed, to rerun pass `--doc`
@tiaanl
Copy link
Collaborator

tiaanl commented Mar 22, 2024

I can't repro this and it looks like there were changes to match_byte here: #337.

I'm closing this for now, but feel free to reopen if the problem is still here.

@tiaanl tiaanl closed this as completed Mar 22, 2024
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

No branches or pull requests

2 participants