File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed
hyprtester/src/tests/main Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ using namespace Hyprutils::Memory;
21
21
static bool test () {
22
22
NLog::log (" {}Testing workspaces" , Colors::GREEN);
23
23
24
+ EXPECT (Tests::windowCount (), 0 );
25
+
24
26
// test on workspace "window"
25
27
NLog::log (" {}Switching to workspace 1" , Colors::YELLOW);
26
28
OK (getFromSocket (" /dispatch workspace 1" ));
@@ -65,6 +67,11 @@ static bool test() {
65
67
NLog::log (" {}Switching to workspace 1" , Colors::YELLOW);
66
68
OK (getFromSocket (" /dispatch workspace 1" ));
67
69
70
+ {
71
+ auto str = getFromSocket (" /workspaces" );
72
+ EXPECT_NOT_CONTAINS (str, " workspace ID 2 (2)" );
73
+ }
74
+
68
75
NLog::log (" {}Switching to workspace m+1" , Colors::YELLOW);
69
76
OK (getFromSocket (" /dispatch workspace m+1" ));
70
77
You can’t perform that action at this time.
0 commit comments