You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dd-sdk-android-core/src/test/kotlin/com/datadog/android/core/internal/persistence/file/batch/BatchFileOrchestratorTest.kt
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -556,13 +556,13 @@ internal class BatchFileOrchestratorTest {
556
556
var previousFile = testedOrchestrator.getWritableFile()
557
557
558
558
repeat(4) {
559
-
checkNotNull(previousFile)
559
+
val currentFile =checkNotNull(previousFile)
560
560
561
561
val previousData = forge.aList(MAX_ITEM_PER_BATCH) {
562
562
forge.anAlphabeticalString()
563
563
}
564
564
565
-
previousFile.writeText(previousData[0])
565
+
currentFile.writeText(previousData[0])
566
566
567
567
for (i in1 until MAX_ITEM_PER_BATCH) {
568
568
val file = testedOrchestrator.getWritableFile()
@@ -583,11 +583,11 @@ internal class BatchFileOrchestratorTest {
0 commit comments