mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-11-01 07:02:30 +00:00
Expect the settings source path in parser errors
This commit is contained in:
parent
d374ef0ec1
commit
a98d5be8ff
1 changed files with 4 additions and 1 deletions
|
|
@ -732,7 +732,10 @@ key = "value"
|
|||
panic!("unknown settings key should fail");
|
||||
};
|
||||
|
||||
assert_eq!(error.to_string(), "Failed to parse run config TOML");
|
||||
assert_eq!(
|
||||
error.to_string(),
|
||||
"Failed to parse run config TOML at flows/workflow.toml"
|
||||
);
|
||||
let source = error
|
||||
.source()
|
||||
.expect("parse error should retain the TOML source");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue