Fix typo in base64 test

We want a 1000 element array, not a 2 element array
This commit is contained in:
Steven Fackler 2013-11-25 00:10:31 -08:00
parent 01b5381703
commit 98f47aa67d
1 changed files with 1 additions and 1 deletions

View File

@ -260,7 +260,7 @@ mod test {
#[test]
fn test_to_base64_line_break() {
assert!(![0u8, 1000].to_base64(Config {line_length: None, ..STANDARD})
assert!(![0u8, ..1000].to_base64(Config {line_length: None, ..STANDARD})
.contains("\r\n"));
assert_eq!("foobar".as_bytes().to_base64(Config {line_length: Some(4),
..STANDARD}),