Actually run unstable tests

This commit is contained in:
David Tolnay
2017-03-08 21:02:15 -08:00
parent 0c2fed49e2
commit dd6989d551
6 changed files with 19 additions and 63 deletions
+3 -1
View File
@@ -1,3 +1,5 @@
#![cfg_attr(feature = "unstable", feature(into_boxed_c_str))]
#[macro_use]
extern crate serde_derive;
@@ -900,7 +902,7 @@ fn test_cstr() {
#[test]
fn test_net_ipaddr() {
assert_de_tokens(
"1.2.3.4".parse::<net::IpAddr>().unwrap(),
&"1.2.3.4".parse::<net::IpAddr>().unwrap(),
&[Token::Str("1.2.3.4")],
);
}