slint/internal/compiler/tests/syntax/expressions/strings.slint
Olivier Goffart d881a4fb66 Syntax tests: move some tests to another folder
tidy a bit the basic directory
2023-05-02 13:06:50 +02:00

13 lines
422 B
Text

// Copyright © SixtyFPS GmbH <info@slint-ui.com>
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-commercial
export Test := Window {
Text {
text: "hel\lo";
// ^error{Cannot parse string literal}
}
property <string> p1: "hello\"world";
property <string> p2: "hello\\";
property <string> p3: "hello\world";
// ^error{Cannot parse string literal}
}