mirror of
https://gitlab.gnome.org/jwestman/blueprint-compiler.git
synced 2025-05-06 16:19:07 -04:00
tests: Add another formatter test
This commit is contained in:
parent
8d7103dbe5
commit
455924e22f
2 changed files with 19 additions and 1 deletions
18
tests/formatting/correct1.blp
Normal file
18
tests/formatting/correct1.blp
Normal file
|
@ -0,0 +1,18 @@
|
|||
using Gtk 4.0;
|
||||
|
||||
template $MyTemplate: Label {
|
||||
/**
|
||||
* A list of strings.
|
||||
*/
|
||||
StringList {
|
||||
// comment
|
||||
strings [
|
||||
'Hello',
|
||||
C_('Greeting', 'World'),
|
||||
]
|
||||
}
|
||||
|
||||
object: Button {
|
||||
label: 'Click me';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue