FIR modularized test: fix date format in report name
This commit is contained in:
committed by
Mikhail Glukhikh
parent
82fbe4d83d
commit
541e1addf9
+1
-1
@@ -202,7 +202,7 @@ class FirResolveModularizedTotalKotlinTest : KtUsefulTestCase() {
|
|||||||
|
|
||||||
private fun saveReport() {
|
private fun saveReport() {
|
||||||
if (DUMP_FIR) dump.finish()
|
if (DUMP_FIR) dump.finish()
|
||||||
val format = SimpleDateFormat("yyyy-MM-dd__hh-mm")
|
val format = SimpleDateFormat("yyyy-MM-dd__HH-mm")
|
||||||
val logDir = File(FIR_LOGS_PATH)
|
val logDir = File(FIR_LOGS_PATH)
|
||||||
logDir.mkdirs()
|
logDir.mkdirs()
|
||||||
PrintStream(logDir.resolve("report-${format.format(Date())}.log").outputStream()).use { stream ->
|
PrintStream(logDir.resolve("report-${format.format(Date())}.log").outputStream()).use { stream ->
|
||||||
|
|||||||
Reference in New Issue
Block a user