File tree 1 file changed +6
-9
lines changed
1 file changed +6
-9
lines changed Original file line number Diff line number Diff line change @@ -774,12 +774,11 @@ testPackageTryFromToml() {
774
774
775
775
assertEq (
776
776
Package::tryFromToml (val).unwrap_err ()->what (),
777
- R"( [error] toml::value::at: key "name" not found
777
+ R"( toml::value::at: key "name" not found
778
778
--> TOML literal encoded in a C++ code
779
779
|
780
780
2 | [package]
781
- | ^^^^^^^^^-- in this table
782
- )"
781
+ | ^^^^^^^^^-- in this table)"
783
782
);
784
783
}
785
784
{
@@ -790,12 +789,11 @@ testPackageTryFromToml() {
790
789
791
790
assertEq (
792
791
Package::tryFromToml (val).unwrap_err ()->what (),
793
- R"( [error] toml::value::at: key "edition" not found
792
+ R"( toml::value::at: key "edition" not found
794
793
--> TOML literal encoded in a C++ code
795
794
|
796
795
2 | [package]
797
- | ^^^^^^^^^-- in this table
798
- )"
796
+ | ^^^^^^^^^-- in this table)"
799
797
);
800
798
}
801
799
{
@@ -807,12 +805,11 @@ testPackageTryFromToml() {
807
805
808
806
assertEq (
809
807
Package::tryFromToml (val).unwrap_err ()->what (),
810
- R"( [error] toml::value::at: key "version" not found
808
+ R"( toml::value::at: key "version" not found
811
809
--> TOML literal encoded in a C++ code
812
810
|
813
811
2 | [package]
814
- | ^^^^^^^^^-- in this table
815
- )"
812
+ | ^^^^^^^^^-- in this table)"
816
813
);
817
814
}
818
815
You can’t perform that action at this time.
0 commit comments