mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-15 20:05:13 +02:00
style(all): reformat long lines across files for improved code readability and alignment of nested structures
This commit is contained in:
parent
e64fb25dae
commit
9914d26bdf
20 changed files with 229 additions and 182 deletions
|
|
@ -130,10 +130,7 @@ fn corpus_canaries_use_placeholder_and_are_substitutable() {
|
|||
/// once for the oracle — and the two must agree).
|
||||
#[test]
|
||||
fn canary_entropy_and_determinism() {
|
||||
assert!(
|
||||
Canary::ENTROPY_BITS >= 128,
|
||||
"Canary::ENTROPY_BITS must clear the 128-bit floor",
|
||||
);
|
||||
const { assert!(Canary::ENTROPY_BITS >= 128) };
|
||||
|
||||
let bytes = Canary::generate("spec-hash-under-audit");
|
||||
assert_eq!(bytes.len(), 32, "canary is 256 bits of BLAKE3 output");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue