Skip to content

Commit 0e0d322

Browse files
committed
add test itself
1 parent aa5c5a1 commit 0e0d322

File tree

1 file changed

+8
-1
lines changed
  • kotlin/sample/src/main/kotlin

1 file changed

+8
-1
lines changed

kotlin/sample/src/main/kotlin/Main.kt

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,15 @@
33

44
package sample
55

6+
import com.github.kittinunf.fuel.core.Response
7+
import java.net.URL
68
import vacuumanalytics.LogEvent
79

810
fun main(argv : Array<String>) {
9-
println("HEYHEYEYEHHE")
11+
val fakeResponse = Response(
12+
url = URL("http://0.0.0.0"),
13+
headers = mapOf("Set-Cookie" to listOf("sessionid=kotlintst"))
14+
)
15+
val logger = LogEvent("http://0.0.0.0:8080", fakeResponse, "sessionid")
16+
logger.error("B'eba-%pBeba")
1017
}

0 commit comments

Comments
 (0)