Skip to content

Commit

Permalink
test: fix a broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
b00f committed Jan 28, 2024
1 parent e6ec0e9 commit 33a87af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/config_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ func TestLocalnetConfig(t *testing.T) {
assert.True(t, conf.HTTP.Enable)
assert.True(t, conf.Nanomsg.Enable)

assert.Equal(t, conf.GRPC.Listen, "[::]:0")
assert.Equal(t, conf.GRPC.Listen, "[::]:50052")
assert.Equal(t, conf.GRPC.Gateway.Listen, "[::]:0")
assert.Equal(t, conf.HTTP.Listen, "[::]:0")
assert.Equal(t, conf.Nanomsg.Listen, "tcp://[::]:0")
assert.Equal(t, conf.Nanomsg.Listen, "tcp://[::]:40799")
}

func TestLoadFromFile(t *testing.T) {
Expand Down

0 comments on commit 33a87af

Please sign in to comment.