<@UQPM31Q1Y> Keys with the same value but a differ...
# http4k
d
@Fantayeneh Keys with the same value but a different case will override each other. Here's a test showing this working:
Copy code
@Test
    fun `keys use converted case`() {
        val lens = <http://EnvironmentKey.int|EnvironmentKey.int>().required("FOO")
        assertThrows<LensFailure> { lens(env) }

        val withInjectedValue = env.with(lens of 80)
        assertThat(lens(withInjectedValue), equalTo(80))

        assertThat(withInjectedValue["foo"], equalTo("80"))

        assertThat(<http://EnvironmentKey.int|EnvironmentKey.int>().required("FOO")(withInjectedValue), equalTo(80))
    }