Preserve order when serializing/deserialize json by default. (#3126)

This commit is contained in:
Andrés N. Robalino
2021-03-04 00:35:13 -06:00
committed by GitHub
parent 9c375b33a6
commit 0b71e45072
118 changed files with 2487 additions and 1322 deletions

View File

@ -256,6 +256,10 @@ pub fn fixtures() -> PathBuf {
root().join("tests/fixtures")
}
pub fn assets() -> PathBuf {
root().join("tests/assets")
}
pub fn in_directory(str: impl AsRef<Path>) -> String {
let path = str.as_ref();
let path = if path.is_relative() {