Tests: look at _all_ markdown files for slint snippets

We were missing some which had errors

Fixes #2689
(Although the error for 2689 was in C++ and would not have been
discovered by the test, better to have it parsed anyway)
This commit is contained in:
Olivier Goffart 2023-05-04 14:53:11 +02:00 committed by Olivier Goffart
parent 9f8d576dfc
commit 76356c181b
5 changed files with 45 additions and 28 deletions

View file

@ -42,13 +42,13 @@ endif()
Suppose `my_application_ui.slint` was a "Hello World" like this:
```slint,ignore
```slint,no-preview
export component HelloWorld inherits Window {
width: 400px;
height: 400px;
// Declare an alias that exposes the label's text property to C++
property my_label <=> label.text;
in property my_label <=> label.text;
label := Text {
y: parent.width / 2;