Skip to content

Commit

Permalink
correction TU external error
Browse files Browse the repository at this point in the history
  • Loading branch information
dedece35 committed Jan 1, 2025
1 parent 357e1fe commit d6c28cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/test/resources/checks/avoidFullSQLRequest.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
def displayMessage(argument1):
print(argument)
def display_message(argument1):
print(argument1)

displayMessage(' sElEcT * fRoM myTable') # Noncompliant {{Don't use the query SELECT * FROM}}
displayMessage(' sElEcT user fRoM myTable')
display_message(' sElEcT * fRoM myTable') # Noncompliant {{Don't use the query SELECT * FROM}}
display_message(' sElEcT user fRoM myTable')

requestNonCompiliant = ' SeLeCt * FrOm myTable' # Noncompliant {{Don't use the query SELECT * FROM}}
requestCompiliant = ' SeLeCt user FrOm myTable'
displayMessage(requestNonCompiliant)
displayMessage(requestCompiliant)
display_message(requestNonCompiliant)
display_message(requestCompiliant)

0 comments on commit d6c28cf

Please sign in to comment.