- remove fuck
This commit is contained in:
4
business/jxutils/cache/redis/redis_test.go
vendored
4
business/jxutils/cache/redis/redis_test.go
vendored
@@ -16,7 +16,7 @@ func init() {
|
||||
cacher = New("localhost", 6379, "")
|
||||
}
|
||||
|
||||
type FuckYou struct {
|
||||
type TestType struct {
|
||||
Key string `json:"key"`
|
||||
}
|
||||
|
||||
@@ -35,7 +35,7 @@ func TestIt(t *testing.T) {
|
||||
t.Fatal("should not get nothing")
|
||||
}
|
||||
|
||||
result := new(FuckYou)
|
||||
result := new(TestType)
|
||||
cacher.GetAs("key", result)
|
||||
if result.Key != "value" {
|
||||
t.Fatal("should get value")
|
||||
|
||||
Reference in New Issue
Block a user