mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 03:30:57 +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()
|
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()
|
t.Fail()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user