We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ccce8 commit 3842ecbCopy full SHA for 3842ecb
tests/errors.rs
@@ -136,10 +136,7 @@ fn error_with_path() {
136
137
#[test]
138
fn test_error_root_not_table() {
139
- match Config::builder()
140
- .add_source(File::from_str(r#"false"#, FileFormat::Json5))
141
- .build()
142
- {
+ match Config::builder().add_source(File::from_str("false", FileFormat::Toml)).build() {
143
Ok(_) => panic!("Should not merge if root is not a table"),
144
Err(e) => match e {
145
ConfigError::FileParse { cause, .. } => assert_eq!(
0 commit comments