diff options
author | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-06-07 16:03:04 +0200 |
---|---|---|
committer | Pierre-Henri Symoneaux <pierre-henri.symoneaux@nokia.com> | 2017-06-07 16:03:04 +0200 |
commit | 9a03e04f9455ac47098395b4d13aa536301cb24c (patch) | |
tree | f73a2a55191ee7cf0a4ad31c025d0d02803367f9 /src | |
parent | f3d6a0b92b7ff7bac744ead80b58b328d39c8b13 (diff) |
Fixed broken build for rust 1.9.0 to 1.14.0
Diffstat (limited to 'src')
-rw-r--r-- | src/row.rs | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"); |