aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmllint/data/stringLength3.qml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qml/qmllint/data/stringLength3.qml')
-rw-r--r--tests/auto/qml/qmllint/data/stringLength3.qml8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/auto/qml/qmllint/data/stringLength3.qml b/tests/auto/qml/qmllint/data/stringLength3.qml
new file mode 100644
index 0000000000..292a163145
--- /dev/null
+++ b/tests/auto/qml/qmllint/data/stringLength3.qml
@@ -0,0 +1,8 @@
+import QtQuick 2.11
+import QtQuick.Window 2.3
+
+Item {
+ InfoItemTextEdit {
+ textStrColor: valueStr.length === 0 ? "#f5a71e" : "#f5a715"
+ }
+}