Fix non-portable path serialization in ProjectNode.

This was failing snapshot tests on the Linux CI machines,
since I committed snapshots with backslashes.

I think the old path serializer was still the wrong approach,
this one is sort of a middleground but I'm still not super
happy with it.
This commit is contained in:
Lucien Greathouse
2019-10-18 19:40:47 -07:00
parent 07801a0283
commit 114c93fa46
4 changed files with 18 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ children:
children: {}
properties: {}
ignore_unknown_instances: ~
path: "/foo\\file.txt"
path: /foo/file.txt
relevant_paths:
- /foo/file.txt
- /foo/file.meta.json

View File

@@ -29,7 +29,7 @@ children:
children: {}
properties: {}
ignore_unknown_instances: ~
path: "/foo\\file.txt"
path: /foo/file.txt
relevant_paths:
- /foo/file.txt
- /foo/file.meta.json