mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Minor test fix (error text comparison)
Serde's errors for missing fields are a lil' different than the ones from our Deserializer.
This commit is contained in:
parent
62d62333c0
commit
724273ed25
@ -687,10 +687,7 @@ Caused by:
|
||||
f3: i64,
|
||||
big: i64,
|
||||
}
|
||||
assert_error(
|
||||
config.get::<S>("S").unwrap_err(),
|
||||
"missing config key `S.f3`",
|
||||
);
|
||||
assert_error(config.get::<S>("S").unwrap_err(), "missing field `f3`");
|
||||
}
|
||||
|
||||
#[cargo_test]
|
||||
|
Loading…
x
Reference in New Issue
Block a user