diff --git a/tests/it/array/binary/mutable.rs b/tests/it/array/binary/mutable.rs index 9076b7fc2f3..67fd731d57f 100644 --- a/tests/it/array/binary/mutable.rs +++ b/tests/it/array/binary/mutable.rs @@ -99,7 +99,7 @@ fn pop_all_some() { a.push(Some(b"first")); a.push(Some(b"second")); a.push(Some(b"third")); - a.push(Some(b"firth")); + a.push(Some(b"fourth")); for _ in 0..4 { a.push(Some(b"aaaa")); @@ -113,7 +113,7 @@ fn pop_all_some() { assert_eq!(a.pop(), Some(b"aaaa".to_vec())); assert_eq!(a.len(), 5); assert_eq!(a.pop(), Some(b"aaaa".to_vec())); - assert_eq!(a.pop(), Some(b"firth".to_vec())); + assert_eq!(a.pop(), Some(b"fourth".to_vec())); assert_eq!(a.pop(), Some(b"third".to_vec())); assert_eq!(a.pop(), Some(b"second".to_vec())); assert_eq!(a.pop(), Some(b"first".to_vec())); diff --git a/tests/it/array/utf8/mutable.rs b/tests/it/array/utf8/mutable.rs index 5226f310c73..8ee76476cbb 100644 --- a/tests/it/array/utf8/mutable.rs +++ b/tests/it/array/utf8/mutable.rs @@ -45,19 +45,19 @@ fn pop_all_some() { a.push(Some("first")); a.push(Some("second")); a.push(Some("third")); - a.push(Some("firth")); + a.push(Some("fourth")); for _ in 0..4 { a.push(Some("aaaa")); } - a.push(Some("bbbb")); + a.push(Some("こんにちは")); - assert_eq!(a.pop(), Some("bbbb".to_string())); + assert_eq!(a.pop(), Some("こんにちは".to_string())); assert_eq!(a.pop(), Some("aaaa".to_string())); assert_eq!(a.pop(), Some("aaaa".to_string())); assert_eq!(a.pop(), Some("aaaa".to_string())); assert_eq!(a.len(), 5); assert_eq!(a.pop(), Some("aaaa".to_string())); - assert_eq!(a.pop(), Some("firth".to_string())); + assert_eq!(a.pop(), Some("fourth".to_string())); assert_eq!(a.pop(), Some("third".to_string())); assert_eq!(a.pop(), Some("second".to_string())); assert_eq!(a.pop(), Some("first".to_string()));