mem::replace
Apparently in CI it's getting generated in the opposite order, one function per file will make the test pass either way.