mirror of
https://github.com/tealdeer-rs/tealdeer.git
synced 2026-08-23 00:24:17 +02:00
Fix code formatting and update .gitignore
This commit is contained in:
parent
c935cd19f2
commit
8e643b7987
2 changed files with 4 additions and 1 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
|
@ -1,2 +1,4 @@
|
|||
target
|
||||
*.swp
|
||||
*.tar.gz
|
||||
tldr-master/
|
||||
|
|
|
|||
|
|
@ -80,7 +80,8 @@ mod test {
|
|||
assert_eq!(json::decode::<OsType>("\"Linux\"").unwrap(), Linux);
|
||||
assert_eq!(json::decode::<OsType>("\"LINUX\"").unwrap(), Linux);
|
||||
}
|
||||
#[test]
|
||||
|
||||
#[test]
|
||||
fn test_os_type_decoding_unknown() {
|
||||
assert!(json::decode::<OsType>("\"lindows\"").is_err());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue