mirror of
https://github.com/github/codeql.git
synced 2026-06-17 10:51:09 +02:00
Convert Python qlref tests to inline expectations
This commit is contained in:
@@ -1 +1,2 @@
|
||||
Testing/ImpreciseAssert.ql
|
||||
query: Testing/ImpreciseAssert.ql
|
||||
postprocess: utils/test/InlineExpectationsTestQuery.ql
|
||||
|
||||
@@ -3,7 +3,7 @@ from unittest import TestCase
|
||||
class MyTest(TestCase):
|
||||
|
||||
def test1(self):
|
||||
self.assertTrue(1 == 1)
|
||||
self.assertFalse(1 > 2)
|
||||
self.assertTrue(1 in [1])
|
||||
self.assertFalse(0 is "")
|
||||
self.assertTrue(1 == 1) # $ Alert
|
||||
self.assertFalse(1 > 2) # $ Alert
|
||||
self.assertTrue(1 in [1]) # $ Alert
|
||||
self.assertFalse(0 is "") # $ Alert
|
||||
|
||||
Reference in New Issue
Block a user