mirror of https://github.com/databricks/cli.git
This commit is contained in:
parent
ca17487b8e
commit
8505abd683
|
@ -211,7 +211,6 @@ func runTest(t *testing.T, dir, coverDir string, repls testdiff.ReplacementsCont
|
||||||
// specifies a custom server stubs.
|
// specifies a custom server stubs.
|
||||||
if len(config.Server) > 0 {
|
if len(config.Server) > 0 {
|
||||||
server := testserver.New(t)
|
server := testserver.New(t)
|
||||||
t.Cleanup(server.Close)
|
|
||||||
|
|
||||||
for _, stub := range config.Server {
|
for _, stub := range config.Server {
|
||||||
require.NotEmpty(t, stub.Pattern)
|
require.NotEmpty(t, stub.Pattern)
|
||||||
|
|
Loading…
Reference in New Issue