Skip to content

Commit f336b52

Browse files
committed
ktlint
1 parent f77c4d3 commit f336b52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

aws-runtime/aws-config/common/test/aws/sdk/kotlin/runtime/auth/credentials/ExecuteCommandTest.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import kotlin.test.assertFailsWith
1111
class ExecuteCommandTest {
1212
val provider = PlatformProvider.System
1313

14-
val PLATFORM_NEWLINE = when (provider.osInfo().family) {
14+
val platformNewline = when (provider.osInfo().family) {
1515
OsFamily.Windows -> "\r\n"
1616
else -> "\n"
1717
}
@@ -28,7 +28,7 @@ class ExecuteCommandTest {
2828
)
2929

3030
assertEquals(0, result.first)
31-
assertEquals("Hello, World!${PLATFORM_NEWLINE}", result.second)
31+
assertEquals("Hello, World!$platformNewline", result.second)
3232
}
3333

3434
@Test
@@ -71,7 +71,7 @@ class ExecuteCommandTest {
7171
)
7272

7373
assertEquals(0, result.first)
74-
assertEquals(""""Hello, in quotes!"$PLATFORM_NEWLINE""", result.second)
74+
assertEquals(""""Hello, in quotes!"$platformNewline""", result.second)
7575
}
7676

7777
@Test
@@ -107,6 +107,6 @@ class ExecuteCommandTest {
107107
)
108108

109109
assertEquals(13, result.first)
110-
assertEquals("Error message$PLATFORM_NEWLINE", result.second)
110+
assertEquals("Error message$platformNewline", result.second)
111111
}
112112
}

0 commit comments

Comments
 (0)