test(parser): add more expected error messages
@@ -54,7 +54,7 @@ t!(
);
t!(
test_datetime_malformed_with_milli,
- "",
+ "While parsing a Date-Time",
"fixtures/invalid/datetime-malformed-with-milli.toml"
);
t!(
@@ -84,22 +84,22 @@ t!(
);
t!(
test_float_leading_zero_neg,
- "",
+ "Unexpected `3`",
"fixtures/invalid/float-leading-zero-neg.toml"
);
t!(
test_float_leading_zero_pos,
- "",
+ "Unexpected `3`",
"fixtures/invalid/float-leading-zero-pos.toml"
);
t!(
test_float_leading_zero,
- "",
+ "Unexpected `3`",
"fixtures/invalid/float-leading-zero.toml"
);
t!(
test_float_no_leading_zero,
- "",
+ "Unexpected `.`",
"fixtures/invalid/float-no-leading-zero.toml"
);
t!(
@@ -114,17 +114,17 @@ t!(
);
t!(
test_float_underscore_after,
- "",
+ "column 11",
"fixtures/invalid/float-underscore-after.toml"
);
t!(
test_float_underscore_before_point,
- "",
+ "column 9",
"fixtures/invalid/float-underscore-before-point.toml"
);
t!(
test_float_underscore_before,
- "",
+ "column 7",
"fixtures/invalid/float-underscore-before.toml"
);
t!(
