(t *testing.T)
| 111 | } |
| 112 | |
| 113 | func TestConfigurationGlobal(t *testing.T) { |
| 114 | t.Cleanup(func() { |
| 115 | os.Remove(homeConfigurationFilename(".yml")) |
| 116 | }) |
| 117 | |
| 118 | createGlobalConfiguration(t) |
| 119 | |
| 120 | testConfigurationGlobal(t, WithGlobalConfiguration) |
| 121 | testConfigurationGlobal(t, WithConfiguration(YAML(globalConfigurationKeyword))) |
| 122 | } |
| 123 | |
| 124 | func testConfigurationGlobal(t *testing.T, c Configurator) { |
| 125 | app := New().Configure(c) |
nothing calls this directly
no test coverage detected
searching dependent graphs…