diff --git a/testing/frisby/13_frisby_as_test_pass_test.go b/testing/frisby/13_frisby_as_test_pass_test.go new file mode 100644 index 0000000..a6fc1ce --- /dev/null +++ b/testing/frisby/13_frisby_as_test_pass_test.go @@ -0,0 +1,16 @@ +package main + +import ( + "github.com/verdverm/frisby" + "testing" +) + +func TestHttpGet(t *testing.T) { + f := frisby.Create("Simplest test").Get("http://httpbin.org/get") + f.Send() + f.ExpectStatus(200) + err := f.Error() + if err != nil { + t.Error(err) + } +}