Skip to content

Commit

Permalink
Update test suite to nightly-2024-02-23
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 23, 2024
1 parent 0dae015 commit 07a2065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_round_trip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ fn translate_message(diagnostic: &Diagnostic) -> Cow<'static, str> {
}

let message = &diagnostic.messages[0].0;
let args = translation::to_fluent_args(diagnostic.args());
let args = translation::to_fluent_args(diagnostic.args.iter());

let (identifier, attr) = match message {
DiagnosticMessage::Str(msg) | DiagnosticMessage::Translated(msg) => return msg.clone(),
Expand Down

0 comments on commit 07a2065

Please sign in to comment.