Skip to content

Commit

Permalink
Make test diffs less noisy -- roads can be identified more easily by …
Browse files Browse the repository at this point in the history
…the OSM IDs, not the graph IDs.
  • Loading branch information
dabreegster committed Jan 12, 2025
1 parent 6c36e97 commit a54554a
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions backend/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@ fn prune_features(mut gj: FeatureCollection) -> FeatureCollection {
props.retain(|k, _| {
[
"direction",
"id",
"kind",
"node1",
"node2",
Expand All @@ -96,7 +95,6 @@ fn prune_features(mut gj: FeatureCollection) -> FeatureCollection {
"way",
]
.contains(&k.as_str())
&& k != "angle"
});
}
}
Expand Down
2 changes: 1 addition & 1 deletion tests/output/bristol_east.geojson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/output/bristol_west.geojson

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion tests/output/strasbourg.geojson

Large diffs are not rendered by default.

0 comments on commit a54554a

Please sign in to comment.