summary refs log tree commit diff
path: root/src/libcoretest
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-27 11:29:36 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-27 11:29:36 -0700
commit01560112b8dda59d7e45b33d4d344dfdea589ea2 (patch)
tree5610d43cfcb6630d7d4af76fb94ebeebacd39993 /src/libcoretest
parente361b25c5e0ae2b49b1850499f0c19683c843fe6 (diff)
downloadrust-01560112b8dda59d7e45b33d4d344dfdea589ea2.tar.gz
rust-01560112b8dda59d7e45b33d4d344dfdea589ea2.zip
Test fixes and rebase conflicts, round 1
Diffstat (limited to 'src/libcoretest')
-rw-r--r--src/libcoretest/option.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/libcoretest/option.rs b/src/libcoretest/option.rs
index 1a7d8f83d70..569142c0d7d 100644
--- a/src/libcoretest/option.rs
+++ b/src/libcoretest/option.rs
@@ -258,9 +258,6 @@ fn test_cloned() {
     assert_eq!(opt_none.clone(), None);
     assert_eq!(opt_none.cloned(), None);
 
-    // Mutable refs work
-    assert_eq!(opt_mut_ref.cloned(), Some(2u32));
-
     // Immutable ref works
     assert_eq!(opt_ref.clone(), Some(&val1));
     assert_eq!(opt_ref.cloned(), Some(1u32));