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 failing tests #676

Merged
merged 2 commits into from
May 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Empty file modified build.sh
100644 → 100755
Empty file.
5 changes: 2 additions & 3 deletions pnet_macros/tests/compile-fail/length_expr_parentheses.stderr
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@ error: this file contains an unclosed delimiter
|
= note: this error originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info)

error: proc-macro derive panicked
error: cannot parse string into token stream
--> tests/compile-fail/length_expr_parentheses.rs:15:1
|
15 | #[packet]
| ^^^^^^^^^
|
= help: message: compiler/fallback mismatch
= note: this error originates in the attribute macro `packet` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this error originates in the derive macro `::pnet_macros::Packet` (in Nightly builds, run with -Z macro-backtrace for more info)
2 changes: 1 addition & 1 deletion pnet_packet/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ default = ["std"]

[dev-dependencies]
hex = "0.4.3"
criterion = { version = "0.5.1", features = ["html_reports"] } #added HTML feature becuase of the annoying warnings when running the tests
criterion = { version = "0.5.1", features = ["html_reports"] } #added HTML feature because of the annoying warnings when running the tests

[build-dependencies]
glob = "0.3.1"
Expand Down