Skip to content

Commit

Permalink
Rename to .amf from .xml
Browse files Browse the repository at this point in the history
  • Loading branch information
lordofhyphens committed Mar 15, 2021
1 parent 1f2d3d1 commit 18ddd3a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions src/test/libslic3r/test_amf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand All @@ -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);
}
Expand Down

0 comments on commit 18ddd3a

Please sign in to comment.