feat: implement fx.NoneMatch, fx.First, fx.Last (#1402)
* chore: use workers from options in fx.unlimitedWalk * feat: add fx.NoneMatch * feat: add fx.First, fx.Last * chore: add more comments * docs: add mr readme
This commit is contained in:
@@ -43,7 +43,7 @@ func TestServer(t *testing.T) {
|
||||
Mode: "console",
|
||||
},
|
||||
},
|
||||
ListenOn: ":8080",
|
||||
ListenOn: "localhost:8080",
|
||||
Etcd: discov.EtcdConf{},
|
||||
Auth: false,
|
||||
Redis: redis.RedisKeyConf{},
|
||||
@@ -67,7 +67,7 @@ func TestServerError(t *testing.T) {
|
||||
Mode: "console",
|
||||
},
|
||||
},
|
||||
ListenOn: ":8080",
|
||||
ListenOn: "localhost:8080",
|
||||
Etcd: discov.EtcdConf{
|
||||
Hosts: []string{"localhost"},
|
||||
},
|
||||
@@ -86,7 +86,7 @@ func TestServer_HasEtcd(t *testing.T) {
|
||||
Mode: "console",
|
||||
},
|
||||
},
|
||||
ListenOn: ":8080",
|
||||
ListenOn: "localhost:8080",
|
||||
Etcd: discov.EtcdConf{
|
||||
Hosts: []string{"notexist"},
|
||||
Key: "any",
|
||||
|
||||
Reference in New Issue
Block a user