Skip to content

Commit 3248ab7

Browse files
committed
fix name of the field containing the ignore reason
1 parent 4958272 commit 3248ab7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/bootstrap/render_tests.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ impl<'a> Renderer<'a> {
245245
name: outcome.name.clone(),
246246
exec_time: None,
247247
stdout: None,
248-
reason: None,
248+
message: None,
249249
};
250250
self.render_test_outcome(Outcome::BenchOk, &fake_test_outcome);
251251
self.benches.push(outcome);
@@ -255,7 +255,7 @@ impl<'a> Renderer<'a> {
255255
}
256256
Message::Test(TestMessage::Ignored(outcome)) => {
257257
self.render_test_outcome(
258-
Outcome::Ignored { reason: outcome.reason.as_deref() },
258+
Outcome::Ignored { reason: outcome.message.as_deref() },
259259
&outcome,
260260
);
261261
}
@@ -345,5 +345,5 @@ struct TestOutcome {
345345
name: String,
346346
exec_time: Option<f64>,
347347
stdout: Option<String>,
348-
reason: Option<String>,
348+
message: Option<String>,
349349
}

0 commit comments

Comments
 (0)