You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: providers/env-var/src/commonTest/kotlin/dev/openfeature/kotlin/contrib/providers/envvar/EnvVarProviderTest.kt
+11-24Lines changed: 11 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -23,7 +23,7 @@ internal class EnvVarProviderTest {
23
23
}
24
24
25
25
@Test
26
-
fun`should evaluate bool_true value correctly`() =
26
+
fun`should evaluate true as Boolean correctly`() =
27
27
evaluationTest(
28
28
"bool_true",
29
29
"true",
@@ -44,7 +44,7 @@ internal class EnvVarProviderTest {
44
44
)
45
45
46
46
@Test
47
-
fun`should evaluate bool_false value correctly`() =
47
+
fun`should evaluate false as Boolean correctly`() =
48
48
evaluationTest(
49
49
"bool_false",
50
50
"FaLsE",
@@ -65,7 +65,7 @@ internal class EnvVarProviderTest {
65
65
)
66
66
67
67
@Test
68
-
fun`should evaluate unusual bool_false value correctly`() =
68
+
fun`should evaluate unrecognized Boolean as Boolean false correctly`() =
69
69
evaluationTest(
70
70
"bool_false",
71
71
"not-a-bool",
@@ -86,7 +86,7 @@ internal class EnvVarProviderTest {
86
86
)
87
87
88
88
@Test
89
-
fun`should evaluate string value correctly`() =
89
+
fun`should evaluate String value correctly`() =
90
90
evaluationTest(
91
91
"string",
92
92
"value",
@@ -107,7 +107,7 @@ internal class EnvVarProviderTest {
107
107
)
108
108
109
109
@Test
110
-
fun`should evaluate int value correctly`() =
110
+
fun`should evaluate Int value correctly`() =
111
111
evaluationTest(
112
112
"INT",
113
113
"42",
@@ -128,7 +128,7 @@ internal class EnvVarProviderTest {
128
128
)
129
129
130
130
@Test
131
-
fun`should evaluate double value correctly`() =
131
+
fun`should evaluate Double value correctly`() =
132
132
evaluationTest(
133
133
"double",
134
134
"42.0",
@@ -149,7 +149,7 @@ internal class EnvVarProviderTest {
149
149
)
150
150
151
151
@Test
152
-
fun`should throw FlagNotFound on missing env bool_default`() =
152
+
fun`should throw FlagNotFound on missing Boolean env`() =
0 commit comments