File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ impl fmt::Display for ConfigError {
230
230
ConfigError :: Foreign ( ref cause) => write ! ( f, "{cause}" ) ,
231
231
232
232
ConfigError :: NotFound ( ref key) => {
233
- write ! ( f, "configuration property {key:?} not found " )
233
+ write ! ( f, "missing configuration field {key:?}" )
234
234
}
235
235
236
236
ConfigError :: Type {
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ fn test_path_index_bounds() {
22
22
assert ! ( res. is_err( ) ) ;
23
23
assert_data_eq ! (
24
24
res. unwrap_err( ) . to_string( ) ,
25
- str ![ [ r#"configuration property "arr[2]" not found "# ] ]
25
+ str ![ [ r#"missing configuration field "arr[2]""# ] ]
26
26
) ;
27
27
}
28
28
@@ -45,7 +45,7 @@ fn test_path_index_negative_bounds() {
45
45
assert ! ( res. is_err( ) ) ;
46
46
assert_data_eq ! (
47
47
res. unwrap_err( ) . to_string( ) ,
48
- str ![ [ r#"configuration property "arr[-1]" not found "# ] ]
48
+ str ![ [ r#"missing configuration field "arr[-1]""# ] ]
49
49
) ;
50
50
}
51
51
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ fn test_not_found() {
18
18
assert ! ( res. is_err( ) ) ;
19
19
assert_data_eq ! (
20
20
res. unwrap_err( ) . to_string( ) ,
21
- str ![ [ r#"configuration property "not_found" not found "# ] ]
21
+ str ![ [ r#"missing configuration field "not_found""# ] ]
22
22
) ;
23
23
}
24
24
You can’t perform that action at this time.
0 commit comments