From bd1218eca88438d28afd4d171a2505ecc9c0bb23 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Fri, 27 May 2022 11:59:53 -0400 Subject: planet: Utility methods for managing state New functions: - get_status - shutdown - start - pause In short, a way for users of the lib to manage the state of their VMs. --- src/star.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/star.rs') 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); } -- cgit v1.2.3