Skip to content

Commit

Permalink
Merge pull request #44 from wmww/fix-tests-sep-2024
Browse files Browse the repository at this point in the history
Make tests compatible with new libwayland format
  • Loading branch information
wmww authored Sep 1, 2024
2 parents a689a39 + ebb581c commit 3f58224
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration-tests/test-set-monitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ static GtkWindow* window;

static void callback_0()
{
EXPECT_MESSAGE(zwlr_layer_shell_v1 .get_layer_surface wl_output@);
EXPECT_MESSAGE(zwlr_layer_shell_v1 .get_layer_surface wl_output);
window = create_default_window();
gtk_layer_init_for_window(window);
ASSERT_EQ(g_list_model_get_n_items(gdk_display_get_monitors(gdk_display_get_default())), 1, "%d");
Expand Down
2 changes: 1 addition & 1 deletion test/run-integration-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def verify_result(lines: List[str]):
elif line.startswith('DONT_EXPECT: '):
negative_assertions.append(line.split()[1:])
set_expectation = True
elif line.startswith('[') and line.endswith(')') and '@' in line:
elif line.startswith('[') and line.endswith(')') and ('@' in line or '#' in line):
if assertions and line_contains(line, assertions[0]):
assertions = assertions[1:]
for negative_assertion in negative_assertions:
Expand Down

0 comments on commit 3f58224

Please sign in to comment.