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:
Alex Berghage 2020-07-08 21:22:44 -06:00
parent 62d62333c0
commit 724273ed25

View File

@ -687,10 +687,7 @@ Caused by:
f3: i64, f3: i64,
big: i64, big: i64,
} }
assert_error( assert_error(config.get::<S>("S").unwrap_err(), "missing field `f3`");
config.get::<S>("S").unwrap_err(),
"missing config key `S.f3`",
);
} }
#[cargo_test] #[cargo_test]