Skip to content

Commit

Permalink
Syntax: Update tests to the latest JavaScript package changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ratijas committed Nov 14, 2023
1 parent 2146233 commit 6c4f3f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Support/tests/syntax_test_QML.qml
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,7 @@ RegularProperties {
// ^^^^^ support.type
// ^^^^^ meta.binding.name variable.other.member
Qt.point(null, undefined, NaN)
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.binding.property.qml meta.function-call.method.js
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.binding.property.qml
// ^^ support.class.builtin.qml
// ^ punctuation.accessor.js
// ^^^^ support.function.builtin.qml
Expand Down Expand Up @@ -728,9 +728,8 @@ Expressions {
ArrayWho();
// ^^^^^^^^ meta.function-call.js variable.function.js - support.class
Array(42);
// ^^^^^ meta.function-call.js support.class.builtin.js
// ^^^^^ support.class.builtin.js
Date.now();
// ^^^^^^^^^^ meta.function-call.method.js
// ^^^^ support.class.builtin.js
// ^ punctuation.accessor.js
// ^^^ support.function.builtin.js
Expand Down Expand Up @@ -794,7 +793,6 @@ Expressions {
// ^^^^ support.function.qml
// ^^^^^^^^^^ support.function.qml
Qt.quit();
// ^^^^^^^^^ meta.function-call.method.js
// ^^ support.class.builtin.qml
// ^ punctuation.accessor.js
// ^^^^ support.function.builtin.qml
Expand Down Expand Up @@ -1165,7 +1163,7 @@ AttachedProperties {
// ^^^^^^^^^^^ meta.binding.name support.function markup.italic
// ^^^^^^^^^ markup.underline
// ^ punctuation.separator.mapping.key-value
// ^^^^^ meta.function-call.js support.function
// ^^^^^ support.function

// It wouldn't work (at least didn't for me), but it's perfectly legit
Window.window.onWidthChanged: 42;
Expand Down

0 comments on commit 6c4f3f3

Please sign in to comment.