From d6c1f33f303df068b6cea1d7e0ced3d541c57bb6 Mon Sep 17 00:00:00 2001 From: Rd Date: Wed, 26 Jun 2024 11:56:32 +0530 Subject: [PATCH] Changed mutable lists to lists --- .../org/oppia/android/scripts/coverage/RunCoverageTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt b/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt index 092b75fae87..953d6194d14 100644 --- a/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt +++ b/scripts/src/javatests/org/oppia/android/scripts/coverage/RunCoverageTest.kt @@ -134,7 +134,7 @@ class RunCoverageTest { scriptBgDispatcher ).execute() - val expectedResultList = mutableListOf( + val expectedResultList = listOf( listOf( "SF:coverage/main/java/com/example/TwoSum.kt", "FN:7,com/example/TwoSum${'$'}Companion::sumNumbers (II)Ljava/lang/Object;", @@ -217,7 +217,7 @@ class RunCoverageTest { scriptBgDispatcher ).execute() - val expectedResultList = mutableListOf( + val expectedResultList = listOf( listOf( "SF:scripts/java/com/example/TwoSum.kt", "FN:7,com/example/TwoSum${'$'}Companion::sumNumbers (II)Ljava/lang/Object;", @@ -300,7 +300,7 @@ class RunCoverageTest { scriptBgDispatcher ).execute() - val expectedResultList = mutableListOf( + val expectedResultList = listOf( listOf( "SF:app/main/java/com/example/TwoSum.kt", "FN:7,com/example/TwoSum${'$'}Companion::sumNumbers (II)Ljava/lang/Object;", @@ -401,7 +401,7 @@ class RunCoverageTest { scriptBgDispatcher ).execute() - val expectedResultList = mutableListOf( + val expectedResultList = listOf( listOf( "SF:app/main/java/com/example/TwoSum.kt", "FN:7,com/example/TwoSum${'$'}Companion::sumNumbers (II)Ljava/lang/Object;",