forked from qt-creator/qt-creator
Squish: Make workaround in tst_CSUP03 permanent
The bug is fixed in 4.14. Change-Id: I7fe69f98d69de494f886bca3f854b7be626998e8 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -51,11 +51,7 @@ def constructExpectedCode(original, codeLines, funcSuffix):
|
||||
generatedFunc += "\n %s" % line
|
||||
if withBraces:
|
||||
generatedFunc += "\n \n }"
|
||||
# QTCREATORBUG-12118: last line has 4 additional blanks
|
||||
if JIRA.isBugStillOpen(12118):
|
||||
generatedFunc += " "
|
||||
else:
|
||||
test.warning("Remove unnecessary code - QTCREATORBUG-12118 is closed.")
|
||||
generatedFunc += " " # QTCREATORBUG-12118: last line has 4 additional blanks
|
||||
generatedFunc += "\n}"
|
||||
tmp.insert(insertHere + 1, generatedFunc)
|
||||
return "\n".join(tmp) + "\n"
|
||||
|
Reference in New Issue
Block a user