Skip to content

Commit 9ad8d70

Browse files
committed
adapt text to new getLineTokens
1 parent 168ce19 commit 9ad8d70

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/scriptengine_t.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void ScriptEngineTest::getLineTokens(void)
248248
eng.setScript(
249249
QString(
250250
"tlExpected = JSON.stringify(%2);"
251-
"tlActual = JSON.stringify(editor.document().getLineTokens(%1));"
251+
"tlActual = JSON.stringify(editor.getLineTokens(%1));"
252252
"if (tlExpected !== tlActual) {"
253253
"throw ('Wrong tokens list. Expected ' + tlExpected + ', got ' + tlActual);"
254254
"}"

0 commit comments

Comments
 (0)