77package com.datadog.android.flags.internal
88
99import com.datadog.tools.unit.forge.BaseConfigurator
10- import fr.xgouchet.elmyr.Forge
1110import fr.xgouchet.elmyr.annotation.BoolForgery
1211import fr.xgouchet.elmyr.annotation.DoubleForgery
1312import fr.xgouchet.elmyr.annotation.IntForgery
@@ -39,7 +38,7 @@ internal class JsonExtensionsTest {
3938 put(key1, value1)
4039 put(" number" , value2)
4140 put(" bool" , boolVal)
42- put(" double" , doubleVal)
41+ put(" double" , doubleVal)
4342 }
4443
4544 // When
@@ -50,7 +49,7 @@ internal class JsonExtensionsTest {
5049 assertThat(result[key1]).isEqualTo(value1)
5150 assertThat(result[" number" ]).isEqualTo(value2)
5251 assertThat(result[" bool" ]).isEqualTo(boolVal)
53- assertThat(result[" double" ]).isEqualTo(doubleVal)
52+ assertThat(result[" double" ]).isEqualTo(doubleVal)
5453 }
5554
5655 @Test
@@ -127,9 +126,7 @@ internal class JsonExtensionsTest {
127126 }
128127
129128 @Test
130- fun `M handle deeply nested structures W toMap() {complex nesting}` (
131- @StringForgery fakeValue : String
132- ) {
129+ fun `M handle deeply nested structures W toMap() {complex nesting}` (@StringForgery fakeValue : String ) {
133130 // Given
134131 val jsonObject = JSONObject ().apply {
135132 put(
@@ -402,10 +399,7 @@ internal class JsonExtensionsTest {
402399 }
403400
404401 @Test
405- fun `M convert map W toJSONArray() {Map in list}` (
406- @StringForgery fakeName : String ,
407- @IntForgery fakeAge : Int
408- ) {
402+ fun `M convert map W toJSONArray() {Map in list}` (@StringForgery fakeName : String , @IntForgery fakeAge : Int ) {
409403 // Given
410404 val list = listOf (
411405 mapOf (" name" to fakeName, " age" to fakeAge)
0 commit comments