aboutsummaryrefslogtreecommitdiff
path: root/app/src/test/kotlin/com/pitchedapps
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/test/kotlin/com/pitchedapps')
-rw-r--r--app/src/test/kotlin/com/pitchedapps/frost/MiscTest.kt13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/src/test/kotlin/com/pitchedapps/frost/MiscTest.kt b/app/src/test/kotlin/com/pitchedapps/frost/MiscTest.kt
index 20610b2a..ce125298 100644
--- a/app/src/test/kotlin/com/pitchedapps/frost/MiscTest.kt
+++ b/app/src/test/kotlin/com/pitchedapps/frost/MiscTest.kt
@@ -16,7 +16,9 @@
*/
package com.pitchedapps.frost
+import com.pitchedapps.frost.facebook.requests.call
import com.pitchedapps.frost.facebook.requests.zip
+import okhttp3.Request
import org.junit.Test
import kotlin.test.assertTrue
@@ -45,4 +47,15 @@ class MiscTest {
"zip did not seem to work on different threads"
)
}
+
+ @Test
+ fun a() {
+ val s = Request.Builder()
+ .url("https://www.allanwang.ca/ecse429/magenta.png")
+ .get()
+ .call().execute().body()!!.string()
+ "�PNG\n\u001A\nIDA�c����?\u0000\u0006�\u0002��p�\u0000\u0000\u0000\u0000IEND�B`�"
+ println("Hello")
+ println(s)
+ }
}