Skip to content

Commit

Permalink
fixup! test for Felt de/serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
xrvdg committed Sep 9, 2024
1 parent 33276ec commit 7307a51
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions crates/starknet-types-core/src/felt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,6 @@ mod test {
use core::ops::Shl;
use proptest::prelude::*;
use regex::Regex;
#[cfg(feature = "serde")]
use serde_test::{assert_de_tokens, assert_ser_tokens, Configure, Token};

#[test]
fn test_debug_format() {
Expand Down Expand Up @@ -1642,7 +1640,7 @@ mod test {
#[test]
#[cfg(feature = "serde")]
fn serde() {
use serde_test::assert_tokens;
use serde_test::{assert_tokens, Configure, Token};

assert_tokens(&Felt::ZERO.readable(), &[Token::String("0x0")]);
assert_tokens(&Felt::TWO.readable(), &[Token::String("0x2")]);
Expand Down

0 comments on commit 7307a51

Please sign in to comment.