mirror of
https://github.com/gin-gonic/gin.git
synced 2025-10-14 12:12:12 +08:00
fix: resolve gci formatting issues in test files
This commit is contained in:
parent
99964e1145
commit
2a89d2c43e
@ -12,7 +12,6 @@ import (
|
|||||||
func TestContextFileSimple(t *testing.T) {
|
func TestContextFileSimple(t *testing.T) {
|
||||||
// Test serving an existing file
|
// Test serving an existing file
|
||||||
testFile := "../test_file.txt"
|
testFile := "../test_file.txt"
|
||||||
|
|
||||||
w := httptest.NewRecorder()
|
w := httptest.NewRecorder()
|
||||||
c, _ := CreateTestContext(w)
|
c, _ := CreateTestContext(w)
|
||||||
c.Request = httptest.NewRequest(http.MethodGet, "/test", nil)
|
c.Request = httptest.NewRequest(http.MethodGet, "/test", nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user