From aabf84cdd81351cc63ebdc9e2427203621d19950 Mon Sep 17 00:00:00 2001 From: Brian Anderson Date: Tue, 5 Jun 2012 14:59:43 -0700 Subject: [PATCH] test: Remove swappable-test --- src/test/run-pass/swappable-test.rs | 13 ------------- 1 file changed, 13 deletions(-) delete mode 100644 src/test/run-pass/swappable-test.rs diff --git a/src/test/run-pass/swappable-test.rs b/src/test/run-pass/swappable-test.rs deleted file mode 100644 index ee344648901..00000000000 --- a/src/test/run-pass/swappable-test.rs +++ /dev/null @@ -1,13 +0,0 @@ -import swappable::{swappable, methods}; - -fn main() { - let d = swappable(3); - assert d.get() == 3; - d.set(4); - assert d.get() == 4; - d.swap { |i| i + 1 }; - assert d.get() == 5; - assert d.with { |i| i + 1 } == 6; - assert d.get() == 5; - assert swappable::unwrap(d) == 5; -} \ No newline at end of file