Skip to content

Commit

Permalink
Merge pull request rust-lang#8 from waywardmonkeys/test-without-serde
Browse files Browse the repository at this point in the history
Fix test compilation without serde feature.
  • Loading branch information
matklad authored Oct 12, 2018
2 parents 39dcc1d + 038da7d commit 1702c33
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ proptest! {
}
}

#[cfg(feature = "serde")]
#[test]
fn test_serde() {
let s = SmolStr::new("Hello, World");
Expand Down

0 comments on commit 1702c33

Please sign in to comment.