Skip to content

Commit 912f1ed

Browse files
committed
Remove test
This test no longer works because we removed case sensitivity. Signed-off-by: Matthias Beyer <[email protected]>
1 parent b59d410 commit 912f1ed

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/log.rs

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -45,19 +45,6 @@ fn test_case_sensitivity_json_from_str() {
4545
assert_eq!(j.log, log::Level::Error);
4646
}
4747

48-
#[test]
49-
#[should_panic(expected = "Expected Ok(_) for Err(enum Level does not have variant constructor error)")]
50-
fn test_load_level_lowercase_failing() {
51-
// The following should fail because case sensitivity is not disabled
52-
53-
let s = r#"{ "log": "error" }"#;
54-
let c = config(s);
55-
assert_eq!(c.get_string("log").unwrap(), "error");
56-
let l = c.get::<log::Level>("log");
57-
assert!(l.is_ok(), "Expected Ok(_) for {:?}", l);
58-
assert_eq!(l.unwrap(), log::Level::Error);
59-
}
60-
6148
#[test]
6249
fn test_load_level_lowercase_succeeding() {
6350
let s = r#"{ "log": "error" }"#;

0 commit comments

Comments
 (0)