(t *testing.T)
| 32 | } |
| 33 | |
| 34 | func TestLoadConfigFromJson(t *testing.T) { |
| 35 | c, err := LoadConfigFromFile("../tests/test_config.json") |
| 36 | require.Nil(t, err) |
| 37 | assertConfig(t, c) |
| 38 | } |
| 39 | |
| 40 | func TestLoadConfigFromEnv(t *testing.T) { |
| 41 | assert.Nil(t, os.Setenv("FS_LISTEN_ADDR", ":17300")) |
nothing calls this directly
no test coverage detected