From 688e327f15e2f960e346d869734b9ebd77ed8e61 Mon Sep 17 00:00:00 2001 From: John Guo Date: Thu, 10 Dec 2020 23:38:59 +0800 Subject: [PATCH] improve unit testing case for package ghttp --- net/ghttp/ghttp_func.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net/ghttp/ghttp_func.go b/net/ghttp/ghttp_func.go index 78b984524..71b406441 100644 --- a/net/ghttp/ghttp_func.go +++ b/net/ghttp/ghttp_func.go @@ -1,4 +1,4 @@ -// Copyright 2017 gf Author(https://github.com/gogf/gf). All Rights Reserved. +// Copyright GoFrame Author(https://github.com/gogf/gf). All Rights Reserved. // // This Source Code Form is subject to the terms of the MIT License. // If a copy of the MIT was not distributed with this file, @@ -81,7 +81,7 @@ func niceCallFunc(f func()) { // Create a new error with stack info. // Note that there's a skip pointing the start stacktrace // of the real error point. - panic(gerror.NewfSkip(1, "%v", e)) + panic(gerror.NewSkipf(1, "%v", e)) } } }