File tree 1 file changed +4
-5
lines changed
dd-sdk-android-internal/src/test/java/com/datadog/internal/utils
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import org.junit.jupiter.api.extension.Extensions
20
20
internal class StringBuilderExtKtTest {
21
21
22
22
@Test
23
- fun `M add char W addIfNotEmpty {buffer is not empty}` (
23
+ fun `M add char W appendIfNotEmpty {buffer is not empty}` (
24
24
@StringForgery(regex = " .+" ) initialContent : String
25
25
) {
26
26
// Given
@@ -30,12 +30,11 @@ internal class StringBuilderExtKtTest {
30
30
buffer.appendIfNotEmpty(' ' )
31
31
32
32
// Then
33
-
34
33
assertThat(buffer.toString()).isEqualTo(" $initialContent " )
35
34
}
36
35
37
36
@Test
38
- fun `M add str W addIfNotEmpty {buffer is not empty}` (
37
+ fun `M add str W appendIfNotEmpty {buffer is not empty}` (
39
38
@StringForgery(regex = " .+" ) initialContent : String
40
39
) {
41
40
// Given
@@ -49,7 +48,7 @@ internal class StringBuilderExtKtTest {
49
48
}
50
49
51
50
@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}` () {
53
52
// Given
54
53
val buffer = StringBuilder ()
55
54
@@ -61,7 +60,7 @@ internal class StringBuilderExtKtTest {
61
60
}
62
61
63
62
@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}` () {
65
64
// Given
66
65
val buffer = StringBuilder ()
67
66
You can’t perform that action at this time.
0 commit comments