Commit Graph

13 Commits

Author SHA1 Message Date
Bo-Yi Wu 94153d1e19
test: expose performRequest func (#3012) 2022-01-02 19:07:44 +08:00
xyb 1297966100
use IndexByte replace Split to improve performance (#2500)
Co-authored-by: yonbiaoxiao <yonbiaoxiao@tencent.com>
Co-authored-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-10-15 13:55:57 +08:00
田欧 f45c928a15 chore: use http.Status* instead of hard code (#1482) 2018-08-14 09:51:56 +08:00
田欧 202db4fb11 improve utils code coverage (#1473) 2018-08-12 21:38:07 +08:00
田欧 eeb57848ca update assert param(expect, actual) position (#1177) 2017-11-21 21:18:45 +08:00
Philipp Meinen 9fd8aff56e tests: make path assertions aware of vendoring
The path of a package can change in a situation where
dependency vendoring is in use.
This change modifies gin's unit tests to allow such paths.
2015-08-23 00:13:41 +02:00
Manu Mtz-Almeida 0e08a109f9 Adds unit tests for Bind() 2015-07-04 19:56:43 +02:00
Manu Mtz-Almeida 138e4b49bf Using WrapH() internally. 2015-05-20 11:30:22 +02:00
Manu Mtz-Almeida c4914f0ff7 Adds WrapF() and WrapH() 2015-05-20 00:39:52 +02:00
Manu Mtz-Almeida 4f855faef2 Adds helper function. Wrap(http.HandlerFund) gin.HandlerFun 2015-05-19 22:18:58 +02:00
Manu Mtz-Almeida 99694bb716 Fixes errors 2015-05-12 15:22:13 +02:00
Manu Mtz-Almeida 0a192fb0fa Tons of unit tests 2015-04-09 12:15:02 +02:00
Manu Mtz-Almeida ac1ee3fb86 Adds unit tests for Utils 2015-04-08 15:32:50 +02:00