Update `var` with fake default value to the more "correct" `lateinit var`

pull/902/head
Simon Marquis 1 year ago
parent f1bc6f1226
commit 4a5ec5bd82

@ -34,7 +34,7 @@ class NewsResourceCardTest {
@Test
fun testMetaDataDisplay_withCodelabResource() {
val newsWithKnownResourceType = userNewsResourcesTestData[0]
var dateFormatted = ""
lateinit var dateFormatted: String
composeTestRule.setContent {
NewsResourceCardExpanded(
@ -63,7 +63,7 @@ class NewsResourceCardTest {
@Test
fun testMetaDataDisplay_withEmptyResourceType() {
val newsWithEmptyResourceType = userNewsResourcesTestData[3]
var dateFormatted = ""
lateinit var dateFormatted: String
composeTestRule.setContent {
NewsResourceCardExpanded(

Loading…
Cancel
Save