aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/script/dom/bindings.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/script/dom/bindings.rs')
-rw-r--r--tests/unit/script/dom/bindings.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/script/dom/bindings.rs b/tests/unit/script/dom/bindings.rs
index e6742107136..7dfb308e1ed 100644
--- a/tests/unit/script/dom/bindings.rs
+++ b/tests/unit/script/dom/bindings.rs
@@ -10,8 +10,8 @@ fn test_byte_string_move() {
let mut byte_vec = byte_str.bytes();
assert_eq!(byte_vec, "servo".as_bytes());
- assert_eq!(*byte_str, []);
+ assert_eq!(&*byte_str, &*Vec::<u8>::new());
byte_vec = byte_str.into();
- assert_eq!(byte_vec, Vec::new());
+ assert_eq!(byte_vec, Vec::<u8>::new());
}