RFC822MesageTest: Fix locale-sensitive test case
Use `ascii_down()` instead of `down()` so the test case is more robust in the face of being run under different locales. Fixes #950
This commit is contained in:
parent
d8d59cd565
commit
a64412e696
1 changed files with 1 additions and 1 deletions
|
|
@ -306,7 +306,7 @@ This is the second line.
|
|||
|
||||
string message_data = message.get_rfc822_buffer(SMTP_FORMAT).to_string();
|
||||
assert_true("To: Test <test@example.com>\r\n" in message_data);
|
||||
assert_false("bcc" in message_data.down());
|
||||
assert_false("bcc" in message_data.ascii_down());
|
||||
}
|
||||
|
||||
public void get_rfc822_buffer_long_ascii_line() throws GLib.Error {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue