Fix spelling (#2498)
This commit is contained in:
		@ -973,7 +973,7 @@ func (c *Context) File(filepath string) {
 | 
				
			|||||||
	http.ServeFile(c.Writer, c.Request, filepath)
 | 
						http.ServeFile(c.Writer, c.Request, filepath)
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// FileFromFS writes the specified file from http.FileSytem into the body stream in an efficient way.
 | 
					// FileFromFS writes the specified file from http.FileSystem into the body stream in an efficient way.
 | 
				
			||||||
func (c *Context) FileFromFS(filepath string, fs http.FileSystem) {
 | 
					func (c *Context) FileFromFS(filepath string, fs http.FileSystem) {
 | 
				
			||||||
	defer func(old string) {
 | 
						defer func(old string) {
 | 
				
			||||||
		c.Request.URL.Path = old
 | 
							c.Request.URL.Path = old
 | 
				
			||||||
 | 
				
			|||||||
@ -1282,7 +1282,7 @@ func TestContextIsAborted(t *testing.T) {
 | 
				
			|||||||
	assert.True(t, c.IsAborted())
 | 
						assert.True(t, c.IsAborted())
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// TestContextData tests that the response can be written from `bytesting`
 | 
					// TestContextData tests that the response can be written from `bytestring`
 | 
				
			||||||
// with specified MIME type
 | 
					// with specified MIME type
 | 
				
			||||||
func TestContextAbortWithStatus(t *testing.T) {
 | 
					func TestContextAbortWithStatus(t *testing.T) {
 | 
				
			||||||
	w := httptest.NewRecorder()
 | 
						w := httptest.NewRecorder()
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user