Skip to content

Commit

Permalink
Bug 1700562 - Ensure we pass string literals to panic's first argumen…
Browse files Browse the repository at this point in the history
…t. r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D110351
  • Loading branch information
staktrace committed Mar 31, 2021
1 parent bb6799c commit 2c09fd1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,10 @@ test! {
completed = true;
}
_ => {
panic!(format!("{:?}", status));
panic!("{:?}", status);
}
}
Ok(Err(e)) => panic!(format!("{:?}", e)),
Ok(Err(e)) => panic!("{:?}", e),
}

// Timeout to prevent waiting forever
Expand Down

0 comments on commit 2c09fd1

Please sign in to comment.