Move @Suppress("ktlint:standard:max-line-length") to function scope

pull/1094/head
lihenggui 1 year ago
parent 2a2d8ed88d
commit d671126f9e

@ -44,10 +44,9 @@ class FakeNiaNetworkDataSourceTest {
) )
} }
@Test
fun testDeserializationOfTopics() =
@Suppress("ktlint:standard:max-line-length") @Suppress("ktlint:standard:max-line-length")
runTest(testDispatcher) { @Test
fun testDeserializationOfTopics() = runTest(testDispatcher) {
assertEquals( assertEquals(
NetworkTopic( NetworkTopic(
id = "1", id = "1",
@ -61,10 +60,9 @@ class FakeNiaNetworkDataSourceTest {
) )
} }
@Test
fun testDeserializationOfNewsResources() =
@Suppress("ktlint:standard:max-line-length") @Suppress("ktlint:standard:max-line-length")
runTest(testDispatcher) { @Test
fun testDeserializationOfNewsResources() = runTest(testDispatcher) {
assertEquals( assertEquals(
NetworkNewsResource( NetworkNewsResource(
id = "125", id = "125",

Loading…
Cancel
Save