Rename to .amf from .xml

This commit is contained in:
Joseph Lenox 2021-03-15 13:43:39 -05:00 committed by Joseph Lenox
parent 1f2d3d11b9
commit 18ddd3a36d
3 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ SCENARIO("Reading AMF file") {
GIVEN("badly formed AMF file (missing vertices)") {
auto model {new Slic3r::Model()};
WHEN("AMF model is read") {
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/5061-malicious.xml"),model);
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/5061-malicious.amf"),model);
THEN("read should return True") {
REQUIRE(ret);
}
@ -19,7 +19,7 @@ SCENARIO("Reading AMF file") {
GIVEN("Ok formed AMF file") {
auto model {new Slic3r::Model()};
WHEN("AMF model is read") {
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/read-amf.xml"),model);
auto ret = Slic3r::IO::AMF::read(testfile("test_amf/read-amf.amf"),model);
THEN("read should return True") {
REQUIRE(ret);
}