Skip to content

Commit

Permalink
stlye: after fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kod-kristoff committed Mar 21, 2024
1 parent 38b2202 commit 7dcb337
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ mod place_bid {
use super::*;

#[rstest]
fn should_win_auction_if_is_the_only_bidder_above_starting_price(
mut auction_wo_bids: Auction,
) {
fn should_win_auction_if_is_the_only_bidder_above_starting_price(mut auction_wo_bids: Auction) {
auction_wo_bids
.place_bid(BidderId(1), get_dollars("11"))
.unwrap();
Expand All @@ -51,9 +49,7 @@ mod place_bid {
}

#[rstest]
fn should_not_be_winning_auction_if_bids_below_starting_price(
mut auction_wo_bids: Auction,
) {
fn should_not_be_winning_auction_if_bids_below_starting_price(mut auction_wo_bids: Auction) {
auction_wo_bids
.place_bid(BidderId(1), get_dollars("5"))
.unwrap();
Expand Down
2 changes: 1 addition & 1 deletion auctioning_platform/webapp/tests/api/conftest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub async fn spawn_app() -> Context {
let addr = listener.local_addr().unwrap();

tokio::spawn(async move {
axum::serve(listener,webapp::startup::create_app())
axum::serve(listener, webapp::startup::create_app())
.await
.unwrap();
});
Expand Down

0 comments on commit 7dcb337

Please sign in to comment.