-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: Add tests for always ignored diagnostics
- Loading branch information
1 parent
07886de
commit e03d122
Showing
2 changed files
with
168 additions
and
7 deletions.
There are no files selected for viewing
14 changes: 11 additions & 3 deletions
14
integration-tests/project-folder/sources/meta-fixtures/diagnostics.bb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
python () { | ||
error() | ||
} | ||
foo () { | ||
echo "${@"" if True else False}" | ||
echo "${@d.getVar('PV').split('.')[0]}" | ||
} | ||
|
||
def test (): | ||
error('looooooooooooooooooooooooooooooooooooooooooooooooooooooooooong line') | ||
|
||
python __anonymous() { | ||
import os | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters