Skip to content

Commit f485281

Browse files
authored
Update expected lint messages
1 parent 1caa54b commit f485281

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

spark-lint/src/test/kotlin/com/adevinta/spark/lint/MaterialComposableUsageDetectorTest.kt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -83,49 +83,49 @@ public class MaterialComposableUsageDetectorTest : LintDetectorTest() {
8383
"""
8484
src/foo/test.kt:9: ${explanation("Button" to "ButtonFilled")}
8585
Button()
86-
~~~~~~~~
86+
~~~~~~
8787
src/foo/test.kt:10: ${explanation("ElevatedButton" to "ButtonFilled")}
8888
ElevatedButton()
89-
~~~~~~~~~~~~~~~~
89+
~~~~~~~~~~~~~~
9090
src/foo/test.kt:11: ${explanation("FilledTonalButton" to "ButtonTinted")}
9191
FilledTonalButton()
92-
~~~~~~~~~~~~~~~~~~~
92+
~~~~~~~~~~~~~~~~~
9393
src/foo/test.kt:12: ${explanation("OutlinedButton" to "ButtonOutlined")}
9494
OutlinedButton()
95-
~~~~~~~~~~~~~~~~
95+
~~~~~~~~~~~~~~
9696
src/foo/test.kt:13: ${explanation("TextButton" to "ButtonGhost")}
9797
TextButton()
98-
~~~~~~~~~~~~
98+
~~~~~~~~~~
9999
src/foo/test.kt:14: ${explanation("OutlinedTextField" to "TextField")}
100100
OutlinedTextField()
101-
~~~~~~~~~~~~~~~~~~~
101+
~~~~~~~~~~~~~~~~~
102102
src/foo/test.kt:15: ${explanation("FilledTextField" to "TextField")}
103103
FilledTextField()
104-
~~~~~~~~~~~~~~~~~
104+
~~~~~~~~~~~~~~~
105105
src/foo/test.kt:16: ${explanation("CheckBox" to "CheckBox")}
106106
CheckBox()
107-
~~~~~~~~~~
107+
~~~~~~~~
108108
src/foo/test.kt:17: ${explanation("TriStateCheckbox" to "CheckBox")}
109109
TriStateCheckbox()
110-
~~~~~~~~~~~~~~~~~~
110+
~~~~~~~~~~~~~~~~
111111
src/foo/test.kt:18: ${explanation("RadioButton" to "RadioButton")}
112112
RadioButton()
113-
~~~~~~~~~~~~~
113+
~~~~~~~~~~~
114114
src/foo/test.kt:19: ${explanation("Switch" to "Switch")}
115115
Switch()
116-
~~~~~~~~
116+
~~~~~~
117117
src/foo/test.kt:20: ${explanation("Snackbar" to "Snackbar")}
118118
Snackbar()
119-
~~~~~~~~~~
119+
~~~~~~~~
120120
src/foo/test.kt:21: ${explanation("LinearProgressIndicator" to "LinearProgressIndicator")}
121121
LinearProgressIndicator()
122-
~~~~~~~~~~~~~~~~~~~~~~~~~
122+
~~~~~~~~~~~~~~~~~~~~~~~
123123
src/foo/test.kt:22: ${explanation("CircularProgressIndicator" to "CircularProgressIndicator")}
124124
CircularProgressIndicator()
125-
~~~~~~~~~~~~~~~~~~~~~~~~~~~
125+
~~~~~~~~~~~~~~~~~~~~~~~~~
126126
src/foo/test.kt:23: ${explanation("MaterialTheme" to "SparkTheme")}
127127
MaterialTheme()
128-
~~~~~~~~~~~~~~~
128+
~~~~~~~~~~~~~
129129
15 errors, 0 warnings
130130
""".trimIndent(),
131131
)
@@ -231,7 +231,7 @@ public class MaterialComposableUsageDetectorTest : LintDetectorTest() {
231231
"""
232232
src/foo/test.kt:8: ${explanation("Image" to "Illustration")}
233233
Image()
234-
~~~~~~~
234+
~~~~~
235235
1 errors, 0 warnings
236236
""".trimIndent(),
237237
)
@@ -273,10 +273,10 @@ public class MaterialComposableUsageDetectorTest : LintDetectorTest() {
273273
"""
274274
src/foo/test.kt:9: ${explanation("AsyncImage" to "Image")}
275275
AsyncImage()
276-
~~~~~~~~~~~~
276+
~~~~~~~~~~
277277
src/foo/test.kt:10: ${explanation("SubcomposeAsyncImage" to "Image")}
278278
SubcomposeAsyncImage()
279-
~~~~~~~~~~~~~~~~~~~~~~
279+
~~~~~~~~~~~~~~~~~~~~
280280
2 errors, 0 warnings
281281
""".trimIndent(),
282282
)

0 commit comments

Comments
 (0)