replace zxq.co/ripple/hanayo

This commit is contained in:
Alicia
2019-02-23 13:29:15 +00:00
commit c3d206c173
5871 changed files with 1353715 additions and 0 deletions

18
vendor/github.com/RangelReale/osin/client_test.go generated vendored Normal file
View File

@@ -0,0 +1,18 @@
package osin
import (
"testing"
)
func TestClientIntfUserData(t *testing.T) {
c := &DefaultClient{
UserData: make(map[string]interface{}),
}
// check if the interface{} returned from the method is a reference
c.GetUserData().(map[string]interface{})["test"] = "none"
if _, ok := c.GetUserData().(map[string]interface{})["test"]; !ok {
t.Error("Returned interface is not a reference")
}
}