Skip to content

Commit

Permalink
fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
dyc3 committed Dec 11, 2023
1 parent d25977d commit adb67ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/harness/src/monolith.rs
Original file line number Diff line number Diff line change
Expand Up @@ -505,14 +505,14 @@ mod test {
#[test_context(TestRunner)]
#[tokio::test]
async fn default_region(ctx: &TestRunner) {
let mb: Monolith = MonolithBuilder::new().build(ctx).await.into();
let mb: Monolith = MonolithBuilder::new().build(ctx).await;
assert_eq!(mb.region(), "unknown");
}

#[test_context(TestRunner)]
#[tokio::test]
async fn change_region(ctx: &TestRunner) {
let mb: Monolith = MonolithBuilder::new().region("foo").build(ctx).await.into();
let mb: Monolith = MonolithBuilder::new().region("foo").build(ctx).await;
assert_eq!(mb.region(), "foo");
}
}

0 comments on commit adb67ed

Please sign in to comment.