mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
formatting
Former-commit-id: 037081db5d6d4434e873ca8b75334ee43e046b6a
This commit is contained in:
3
cache/cache_test.go
vendored
3
cache/cache_test.go
vendored
@@ -104,7 +104,6 @@ func TestClientNoCache(t *testing.T) {
|
||||
if err := runTest(e, "/", &n, expectedBodyStr, "/nocache"); err != nil {
|
||||
t.Fatalf(t.Name()+": %v", err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestCache(t *testing.T) {
|
||||
@@ -136,7 +135,6 @@ func TestCache(t *testing.T) {
|
||||
if err := runTest(e, "/other", &n2, expectedBodyStr2, ""); err != nil {
|
||||
t.Fatalf(t.Name()+" other: %v", err)
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
func TestCacheHandlerParallel(t *testing.T) {
|
||||
@@ -185,7 +183,6 @@ func TestCacheValidator(t *testing.T) {
|
||||
atomic.AddUint32(&n, 1)
|
||||
ctx.Header("DONT", "DO not cache that response even if it was claimed")
|
||||
ctx.Write([]byte(expectedBodyStr))
|
||||
|
||||
})
|
||||
|
||||
e := httptest.New(t, app)
|
||||
|
||||
Reference in New Issue
Block a user