Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Syntax: Update tests to the latest JavaScript package changes #24

Merged
merged 1 commit into from
Nov 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading