From b79c78bb74585463a636a1ceffa1fabec9ad5267 Mon Sep 17 00:00:00 2001 From: Gregor Niehl Date: Fri, 22 Dec 2023 16:48:49 +0100 Subject: [PATCH] tests: Update to reflect current foramtting style --- tests/samples/accessibility_dec.blp | 3 +-- tests/samples/child_type.blp | 6 ++---- tests/samples/id_prop.blp | 3 +-- tests/samples/placeholder_dec.blp | 3 +-- tests/samples/template.blp | 2 +- tests/samples/using.blp | 3 +-- 6 files changed, 7 insertions(+), 13 deletions(-) diff --git a/tests/samples/accessibility_dec.blp b/tests/samples/accessibility_dec.blp index eedb6cd..4a370cb 100644 --- a/tests/samples/accessibility_dec.blp +++ b/tests/samples/accessibility_dec.blp @@ -8,5 +8,4 @@ Box { } } -Label my_label { -} +Label my_label {} diff --git a/tests/samples/child_type.blp b/tests/samples/child_type.blp index 4e12098..a6a76d5 100644 --- a/tests/samples/child_type.blp +++ b/tests/samples/child_type.blp @@ -2,12 +2,10 @@ using Gtk 4.0; Window { [titlebar] - HeaderBar { - } + HeaderBar {} } Dialog { [internal-child content_area] - Box { - } + Box {} } diff --git a/tests/samples/id_prop.blp b/tests/samples/id_prop.blp index 07b19a3..8200868 100644 --- a/tests/samples/id_prop.blp +++ b/tests/samples/id_prop.blp @@ -4,5 +4,4 @@ Scale { adjustment: adj; } -Adjustment adj { -} +Adjustment adj {} diff --git a/tests/samples/placeholder_dec.blp b/tests/samples/placeholder_dec.blp index 46afd23..ddde6e3 100644 --- a/tests/samples/placeholder_dec.blp +++ b/tests/samples/placeholder_dec.blp @@ -1,4 +1,3 @@ using Gtk 4.0; -Box { -} +Box {} diff --git a/tests/samples/template.blp b/tests/samples/template.blp index fb019d3..aba76c1 100644 --- a/tests/samples/template.blp +++ b/tests/samples/template.blp @@ -1,6 +1,6 @@ using Gtk 4.0; -template $TestTemplate : ApplicationWindow { +template $TestTemplate: ApplicationWindow { test-property: 'Hello, world'; test-signal => $on_test_signal(); } diff --git a/tests/samples/using.blp b/tests/samples/using.blp index 87d62d1..8b11013 100644 --- a/tests/samples/using.blp +++ b/tests/samples/using.blp @@ -1,5 +1,4 @@ using Gtk 4.0; using GObject 2.0; -GObject.Object { -} +GObject.Object {}