diff options
Diffstat (limited to 'src/star.rs')
-rw-r--r-- | src/star.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/star.rs b/src/star.rs index 9cd9d14..dad8789 100644 --- a/src/star.rs +++ b/src/star.rs @@ -227,12 +227,12 @@ mod test { #[test] fn connect_to_house() { - let _: House = House::new("test:///default".to_string()).unwrap(); + let _: Star = Star::new("test:///default".to_string()).unwrap(); } #[test] fn list_inhabitants() { - let mut h: House = House::new("test:///default".to_string()).unwrap(); + let mut h: Star = Star::new("test:///default".to_string()).unwrap(); assert_eq!(h.inhabitants().unwrap().len(), 1); } |