Skip to content

Commit

Permalink
Update test suite to nightly-2024-02-18
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 18, 2024
1 parent d4b499e commit 866c80c
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 @@ -169,7 +169,7 @@ fn translate_message(diagnostic: &Diagnostic) -> Cow<'static, str> {
let args = translation::to_fluent_args(diagnostic.args());

let (identifier, attr) = match message {
DiagnosticMessage::Str(msg) | DiagnosticMessage::Eager(msg) => return msg.clone(),
DiagnosticMessage::Str(msg) | DiagnosticMessage::Translated(msg) => return msg.clone(),
DiagnosticMessage::FluentIdentifier(identifier, attr) => (identifier, attr),
};

Expand Down

0 comments on commit 866c80c

Please sign in to comment.