(t *testing.T)
| 116 | } |
| 117 | |
| 118 | func TestSetting_FillEnvFileContent(t *testing.T) { |
| 119 | buffer := &bytes.Buffer{} |
| 120 | setting := &Setting{ |
| 121 | EnvVariable: "TEST_SETTING", |
| 122 | Value: "test_value", |
| 123 | } |
| 124 | setting.FillEnvFileContent(buffer) |
| 125 | |
| 126 | expected := "TEST_SETTING=test_value\n" |
| 127 | assert.Equal(t, expected, buffer.String()) |
| 128 | } |
| 129 | |
| 130 | func TestSetting_Print(t *testing.T) { |
| 131 | setting := &Setting{ |
nothing calls this directly
no test coverage detected