diff --git a/config/config_non_windows_test.go b/config/config_non_windows_test.go index 8e0be72439..932643b882 100644 --- a/config/config_non_windows_test.go +++ b/config/config_non_windows_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright 2017 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -16,6 +16,7 @@ package config const ruleFilesConfigFile = "testdata/rules_abs_path.good.yml" + var ruleFilesExpectedConf = &Config{ GlobalConfig: DefaultGlobalConfig, RuleFiles: []string{ diff --git a/config/config_windows_test.go b/config/config_windows_test.go index cb8dcebfb0..ac97d31052 100644 --- a/config/config_windows_test.go +++ b/config/config_windows_test.go @@ -1,4 +1,4 @@ -// Copyright 2015 The Prometheus Authors +// Copyright 2017 The Prometheus Authors // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at @@ -14,6 +14,7 @@ package config const ruleFilesConfigFile = "testdata/rules_abs_path_windows.good.yml" + var ruleFilesExpectedConf = &Config{ GlobalConfig: DefaultGlobalConfig, RuleFiles: []string{