Skip to content

Commit

Permalink
more revertions
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Jan 4, 2025
1 parent 08a5a49 commit 973b696
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions martin/tests/pg_table_source_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ async fn table_source() {
"#);

let source2 = table(&mock, "table_source_geog");
assert_yaml_snapshot!(source2, @r#"
assert_yaml_snapshot!(source2, @r"
schema: public
table: table_source_geog
srid: 4326
Expand All @@ -123,14 +123,14 @@ async fn table_source() {
geometry_type: Geometry
properties:
gid: int4
"#);
");
}

#[actix_rt::test]
async fn tables_tilejson() {
let mock = mock_sources(mock_pgcfg("connection_string: $DATABASE_URL")).await;
let tj = source(&mock, "table_source").get_tilejson();
assert_yaml_snapshot!(tj, @r#"
assert_yaml_snapshot!(tj, @r"
tilejson: 3.0.0
tiles: []
vector_layers:
Expand All @@ -145,7 +145,7 @@ async fn tables_tilejson() {
name: table_source
foo:
bar: foo
"#);
");
}

#[actix_rt::test]
Expand Down

0 comments on commit 973b696

Please sign in to comment.