Skip to content

Commit

Permalink
vrs: Remove assumption of sort order in assertion
Browse files Browse the repository at this point in the history
This is failing in CI but not locally, but there’s no reason
to care about the sort order.
  • Loading branch information
backspace committed Oct 3, 2023
1 parent f04978d commit 67ddcd8
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions unmnemonic_devices_vrs/tests/api/teams.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,15 +127,15 @@ async fn team_show_names_team_and_gathers_excerpts(db: PgPool) {

assert_that(&say.text()).contains("jortles");

assert_that(
&document
.find(Name("gather"))
.next()
.unwrap()
.attr("hints")
.unwrap(),
)
.contains("schnimbleby, abused or ignored, ");
let hints = &document
.find(Name("gather"))
.next()
.unwrap()
.attr("hints")
.unwrap();

assert_that(hints).contains("abused or ignored,");
assert_that(hints).contains("schnimbleby,");
}

#[sqlx::test(fixtures("schema", "teams", "books", "regions", "destinations", "meetings"))]
Expand Down

0 comments on commit 67ddcd8

Please sign in to comment.