File tree Expand file tree Collapse file tree 3 files changed +9
-3
lines changed
packages/jupyterlab-lsp/style Expand file tree Collapse file tree 3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,6 @@ Resource ../Keywords.robot
10
10
*** Test Cases ***
11
11
Diagnostics with deprecated tag have strike-through decoration
12
12
Wait Until Page Contains Element css:.cm-lsp-diagnostic[title*="is deprecated"] timeout=25s
13
+ Wait Until Page Contains Element css:.cm-lsp-diagnostic[title*="Unreachable code"] timeout=5s
13
14
Page Should Contain Element css:.cm-lsp-diagnostic-tag-Deprecated
15
+ Page Should Contain Element css:.cm-lsp-diagnostic-tag-Unnecessary
Original file line number Diff line number Diff line change 59
59
" /**\n " ,
60
60
" * @deprecated\n " ,
61
61
" */\n " ,
62
- " function oldFunc() {}\n " ,
62
+ " function oldFunc(test) { \n " ,
63
+ " return;\n " ,
64
+ " let x = 1;\n " ,
65
+ " }\n " ,
63
66
" oldFunc"
64
67
]
65
68
}
Original file line number Diff line number Diff line change 9
9
text-decoration-skip-ink : none;
10
10
}
11
11
12
- .cm-lsp-diagnostic-tag-Unused {
12
+ .cm-lsp-diagnostic-tag-Unnecessary {
13
13
/*
14
14
* LSP: "Clients are allowed to render diagnostics with this tag faded out instead of having an error squiggle."
15
15
*/
16
- opacity : 0.85 ;
16
+ filter : grayscale (1 );
17
+ opacity : 0.7 ;
17
18
text-decoration : none !important ;
18
19
}
19
20
You can’t perform that action at this time.
0 commit comments