Skip to content

Commit fce491e

Browse files
committed
test for latex lint that appears on windows
1 parent 650e472 commit fce491e

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

atest/07_Configuration.robot

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ Markdown
2929

3030
LaTeX
3131
[Documentation] diagnostics only appear if configured
32+
[Tags] language:latex
3233
${needs reload} = Set Variable "${OS}" == "Windows"
3334
Settings Should Change Editor Diagnostics LaTeX example.tex texlab
3435
... {"latex.lint.onChange": true}
3536
... ${EMPTY}
36-
... Delete this space to maintain correct pagereferences.
37+
... Command terminated with space. (chktex)
3738
... Save File
3839
... ${needs reload}
3940

@@ -77,3 +78,5 @@ Reload After Configuration
7778
Prepare File for Editing ${language} config ${file}
7879
Wait Until Fully Initialized
7980
Open Diagnostics Panel
81+
Click Element ${JLAB XP DOCK TAB}\[contains(., 'Launcher')]/${file}
82+
Ensure Sidebar Is Closed

atest/examples/example.tex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@
33
\begin{document}
44
\label{foo}
55
\ref{foo}
6+
\baz this is an error
67
\end{document}

0 commit comments

Comments
 (0)