Commit 94b18f48 authored by Aksel Baardsen's avatar Aksel Baardsen
Browse files


parent 9133090a
package main
import (
func TestGetString(t *testing.T) {
s, i := pkg.GetString("")
if i != http.StatusOK {
t.Errorf("[if nrk is up]Expected 200 OK, got %d", i)
if len(s) < 50 {
t.Errorf("[if nrk is up]Expected a body, got %s", s)
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment