Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for singleElement (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/TagsTest.kt

    import org.junit.jupiter.api.Test
    
    class TagsTest {
      @Test
      fun emptyTags() {
        val tags = EmptyTags
        assertThat(tags[String::class]).isNull()
      }
    
      @Test
      fun singleElement() {
        val tags = EmptyTags.plus(String::class, "hello")
        assertThat(tags[String::class]).isEqualTo("hello")
      }
    
      @Test
      fun multipleElements() {
        val tags =
          EmptyTags
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top