Skip to content

Commit

Permalink
test: Assert the discriminator
Browse files Browse the repository at this point in the history
  • Loading branch information
vadorovsky committed Aug 8, 2024
1 parent 2bfc047 commit 0233050
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions macros/light/src/discriminator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ mod tests {
let output = output.to_string();

assert!(output.contains("impl light_hasher :: Discriminator for MyAccount"));
assert!(output.contains("[181 , 255 , 112 , 42 , 17 , 188 , 66 , 199]"));
}
}

0 comments on commit 0233050

Please sign in to comment.