File tree Expand file tree Collapse file tree
dd-sdk-android-internal/src/test/java/com/datadog/internal/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import org.junit.jupiter.api.extension.Extensions
2020internal 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
You can’t perform that action at this time.
0 commit comments