We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 168ce19 commit 9ad8d70Copy full SHA for 9ad8d70
src/tests/scriptengine_t.cpp
@@ -248,7 +248,7 @@ void ScriptEngineTest::getLineTokens(void)
248
eng.setScript(
249
QString(
250
"tlExpected = JSON.stringify(%2);"
251
- "tlActual = JSON.stringify(editor.document().getLineTokens(%1));"
+ "tlActual = JSON.stringify(editor.getLineTokens(%1));"
252
"if (tlExpected !== tlActual) {"
253
"throw ('Wrong tokens list. Expected ' + tlExpected + ', got ' + tlActual);"
254
"}"
0 commit comments