Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for singleElement (0.07 seconds)

  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
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Oct 24 11:37:46 GMT 2025
    - 7.1K bytes
    - Click Count (0)
Back to Top