]> git.lizzy.rs Git - rust.git/blobdiff - src/test/run-pass/unique-in-vec.rs
test: Automatically remove all `~[T]` from tests.
[rust.git] / src / test / run-pass / unique-in-vec.rs
index 51fceae39b405f42f99047e005c576f961ce71ae..7f0aa93042a1673456ff9fce807799f26d586b3d 100644 (file)
@@ -9,5 +9,5 @@
 // except according to those terms.
 
 pub fn main() {
-    assert!((~[~100])[0] == ~100);
+    assert!((vec!(~100))[0] == ~100);
 }