Skip to content

Commit b2a6eae

Browse files
committed
RUM-6286: post-review fixes - align test names with methods
1 parent 0ed3809 commit b2a6eae

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

dd-sdk-android-internal/src/test/java/com/datadog/internal/utils/StringBuilderExtKtTest.kt

+4-5
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import org.junit.jupiter.api.extension.Extensions
2020
internal class StringBuilderExtKtTest {
2121

2222
@Test
23-
fun `M add char W addIfNotEmpty {buffer is not empty}`(
23+
fun `M add char W appendIfNotEmpty {buffer is not empty}`(
2424
@StringForgery(regex = ".+") initialContent: String
2525
) {
2626
// Given
@@ -30,12 +30,11 @@ internal class StringBuilderExtKtTest {
3030
buffer.appendIfNotEmpty(' ')
3131

3232
// Then
33-
3433
assertThat(buffer.toString()).isEqualTo("$initialContent ")
3534
}
3635

3736
@Test
38-
fun `M add str W addIfNotEmpty {buffer is not empty}`(
37+
fun `M add str W appendIfNotEmpty {buffer is not empty}`(
3938
@StringForgery(regex = ".+") initialContent: String
4039
) {
4140
// Given
@@ -49,7 +48,7 @@ internal class StringBuilderExtKtTest {
4948
}
5049

5150
@Test
52-
fun `M not add any char W addIfNotEmpty {buffer is empty}`() {
51+
fun `M not add any char W appendIfNotEmpty {buffer is empty}`() {
5352
// Given
5453
val buffer = StringBuilder()
5554

@@ -61,7 +60,7 @@ internal class StringBuilderExtKtTest {
6160
}
6261

6362
@Test
64-
fun `M not add any str W addIfNotEmpty {buffer is empty}`() {
63+
fun `M not add any str W appendIfNotEmpty {buffer is empty}`() {
6564
// Given
6665
val buffer = StringBuilder()
6766

0 commit comments

Comments
 (0)