Skip to content

Commit

Permalink
Merge pull request #11 from nais/fix-test
Browse files Browse the repository at this point in the history
Consider revamping these tests
  • Loading branch information
Reasonable-Solutions authored Oct 19, 2023
2 parents 2c9de4b + 04694b1 commit 5fa9f03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prometheus.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ async fn server_functions_and_shuts_down_gracefully() {
.expect("Last word of trimmed message should be amount of unsuccessful events.");
assert_eq!(
amount,
(2 + 2).to_string(), // TODO: IT'S 2+2 because we mysteriously now get +2 on these things...
(2).to_string(),
"Expected amount of `unsuccesful_event_posts` mismatch"
);

Expand Down

0 comments on commit 5fa9f03

Please sign in to comment.