diff --git a/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt b/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt index b665cfec6d0..4fe29dd4b01 100644 --- a/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt +++ b/app/src/sharedTest/java/org/oppia/android/app/player/state/StateFragmentTest.kt @@ -5280,20 +5280,17 @@ class StateFragmentTest { clickNextNavigationButton() clickNextNavigationButton() - val expectedDescription = - """ - "Very good!" said Uncle Berry. He looked at the kitchen table and saw that James had a jug - of orange puree that hadn't been used. - - "Now, James," he said, "I know a good recipe for orange smoothie. It requires mixing orange - puree and milk in the ratio 3:2. Can you tell me which of the following pictures shows a 3:2 - ratio of orange puree to milk?" - - (Note: The orange puree is orange, and the milk is white.) - """.trimIndent() + + + val expectedText = "“Very good!” said Uncle Berry. He looked at the kitchen " + + "table and saw that James had a jug of orange puree that hadn't been used.\n\n“Now, " + + "James,\" he said, \"I know a good recipe for orange smoothie. It requires mixing " + + "orange puree and milk in the ratio 3:2. Can you tell me which of the following " + + "pictures shows a 3:2 ratio of orange puree to milk?\"\n\n(Note: The orange " + + "puree is orange, and the milk is white.)" onView(withId(R.id.content_text_view)) - .check(matches(withText(expectedDescription))) + .check(matches(withText(expectedText))) } }