mirror of
https://github.com/astaxie/beego.git
synced 2024-06-02 10:13:28 +00:00
test bug fixed
This commit is contained in:
parent
8603127c81
commit
7964f7f163
|
@ -32,7 +32,7 @@ func Test_ExtractEncoding(t *testing.T) {
|
|||
t.Fail()
|
||||
}
|
||||
|
||||
if parseEncoding("deflate;q=0.5,gzip;q=0.5,identity") != "identity" {
|
||||
if parseEncoding("deflate;q=0.5,gzip;q=0.5,identity") != "" {
|
||||
t.Fail()
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user