Skip to content

Commit cf9a60c

Browse files
committed
ANDROID-17148/fix-double-extension: Remove ".txt" extra extension when log file is creating
1 parent 4db357f commit cf9a60c

File tree

1 file changed

+1
-1
lines changed
  • android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/logs

1 file changed

+1
-1
lines changed

android-snaptesting/src/main/java/com/telefonica/androidsnaptesting/logs/LogsRule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public open class GenericLogsRule<LogType>(
4545
val isTestIgnored = description?.getAnnotation(IgnoreLogs::class.java) != null
4646

4747
val testName = "${description?.className}_${description?.methodName}"
48-
val fileName = "${testName}.txt.${System.nanoTime()}"
48+
val fileName = "${testName}.${System.nanoTime()}"
4949

5050
val recordedLogs: List<LogType>
5151

0 commit comments

Comments
 (0)