Skip to content

Commit

Permalink
Repro test non-ASCII text format parsing
Browse files Browse the repository at this point in the history
Cherry-pick from #730
  • Loading branch information
stepancheg committed Sep 29, 2024
1 parent 4941283 commit 82e76bc
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,13 @@ fn test_string_bytes() {
);
}

#[test]
fn non_ascii_strings() {
test_text_format_str_descriptor("string_singular: \"À\"", &TestTypes::descriptor());
// TODO: fix this.
// test_text_format_str_descriptor("string_singular: \"日月\"", &TestTypes::descriptor());
}

#[test]
fn test_message() {
test_text_format_str_descriptor("test_message_singular {}", &TestTypes::descriptor());
Expand Down

0 comments on commit 82e76bc

Please sign in to comment.