mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-25 10:17:02 -06:00
file.new stamps metadata.created from the clock in whole seconds. Four Alt-drag tests in tests_xform.rs compare the document under test with one that a second session builds, and both sessions start from session()'s file.new. When the clock reached a new second between the two calls, the documents differed in created, and the test failed. With a temporary change that made each clock read on a thread at least one second later than the one before, all four failed. session() in tests_xform.rs and persp_session() in tests_persp_select.rs now pass "created": null to file.new, as #1894 did for doc_with_rect() in tests_ids_without_selection.rs. Two new tests in #2067 compare two documents built on persp_session().