From 8e643b7987169edea8d32b819f3f29b2900ee2c6 Mon Sep 17 00:00:00 2001 From: Danilo Bargen Date: Sun, 3 Apr 2016 00:10:24 +0200 Subject: [PATCH] Fix code formatting and update .gitignore --- .gitignore | 2 ++ src/types.rs | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index c6262ea..4474934 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ target *.swp +*.tar.gz +tldr-master/ diff --git a/src/types.rs b/src/types.rs index af54ec3..a906f35 100644 --- a/src/types.rs +++ b/src/types.rs @@ -80,7 +80,8 @@ mod test { assert_eq!(json::decode::("\"Linux\"").unwrap(), Linux); assert_eq!(json::decode::("\"LINUX\"").unwrap(), Linux); } -#[test] + + #[test] fn test_os_type_decoding_unknown() { assert!(json::decode::("\"lindows\"").is_err()); }