From 9a03e04f9455ac47098395b4d13aa536301cb24c Mon Sep 17 00:00:00 2001 From: Pierre-Henri Symoneaux Date: Wed, 7 Jun 2017 16:03:04 +0200 Subject: Fixed broken build for rust 1.9.0 to 1.14.0 --- src/row.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/row.rs b/src/row.rs index 22ae409..47498dd 100644 --- a/src/row.rs +++ b/src/row.rs @@ -252,6 +252,7 @@ macro_rules! row { #[cfg(test)] mod tests { use super::*; + use cell::Cell; #[test] fn row_default_empty() { @@ -269,6 +270,7 @@ mod tests { assert_eq!(c1.get_content(), "foo"); let c1 = Cell::from(&"baz"); + assert!(row.set_cell(c1.clone(), 1000).is_err()); assert!(row.set_cell(c1.clone(), 0).is_ok()); assert_eq!(row.get_cell(0).unwrap().get_content(), "baz"); -- cgit v1.2.3