Clarified the bad line by splitting up statements
use super::util::*;
+
+#[test]
+fn ensure_workspace_switch_when_fullscreen() {
+ let mut tree = basic_tree();
+ let active_id = tree.active_id().unwrap();
+ tree.set_fullscreen(active_id, true).unwrap();
+ tree = tree.add_view().unwrap();
+ tree = tree.switch_to_workspace("2").unwrap();
+ tree.switch_to_workspace("1").unwrap();
+}
