From 11b27d5d229d7ee815bd7cfc77c6682b1f3eed0c Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 29 Apr 2024 10:44:53 +0100 Subject: [PATCH] test: move test files into new promqltest package So that promql package does not bring in test-only dependencies. Signed-off-by: Bryan Boreham --- promql/{ => promqltest}/test.go | 0 promql/{ => promqltest}/testdata/aggregators.test | 0 promql/{ => promqltest}/testdata/at_modifier.test | 0 promql/{ => promqltest}/testdata/collision.test | 0 promql/{ => promqltest}/testdata/functions.test | 0 promql/{ => promqltest}/testdata/histograms.test | 0 promql/{ => promqltest}/testdata/literals.test | 0 promql/{ => promqltest}/testdata/native_histograms.test | 0 promql/{ => promqltest}/testdata/operators.test | 0 promql/{ => promqltest}/testdata/selectors.test | 0 promql/{ => promqltest}/testdata/staleness.test | 0 promql/{ => promqltest}/testdata/subquery.test | 0 promql/{ => promqltest}/testdata/trig_functions.test | 0 13 files changed, 0 insertions(+), 0 deletions(-) rename promql/{ => promqltest}/test.go (100%) rename promql/{ => promqltest}/testdata/aggregators.test (100%) rename promql/{ => promqltest}/testdata/at_modifier.test (100%) rename promql/{ => promqltest}/testdata/collision.test (100%) rename promql/{ => promqltest}/testdata/functions.test (100%) rename promql/{ => promqltest}/testdata/histograms.test (100%) rename promql/{ => promqltest}/testdata/literals.test (100%) rename promql/{ => promqltest}/testdata/native_histograms.test (100%) rename promql/{ => promqltest}/testdata/operators.test (100%) rename promql/{ => promqltest}/testdata/selectors.test (100%) rename promql/{ => promqltest}/testdata/staleness.test (100%) rename promql/{ => promqltest}/testdata/subquery.test (100%) rename promql/{ => promqltest}/testdata/trig_functions.test (100%) diff --git a/promql/test.go b/promql/promqltest/test.go similarity index 100% rename from promql/test.go rename to promql/promqltest/test.go diff --git a/promql/testdata/aggregators.test b/promql/promqltest/testdata/aggregators.test similarity index 100% rename from promql/testdata/aggregators.test rename to promql/promqltest/testdata/aggregators.test diff --git a/promql/testdata/at_modifier.test b/promql/promqltest/testdata/at_modifier.test similarity index 100% rename from promql/testdata/at_modifier.test rename to promql/promqltest/testdata/at_modifier.test diff --git a/promql/testdata/collision.test b/promql/promqltest/testdata/collision.test similarity index 100% rename from promql/testdata/collision.test rename to promql/promqltest/testdata/collision.test diff --git a/promql/testdata/functions.test b/promql/promqltest/testdata/functions.test similarity index 100% rename from promql/testdata/functions.test rename to promql/promqltest/testdata/functions.test diff --git a/promql/testdata/histograms.test b/promql/promqltest/testdata/histograms.test similarity index 100% rename from promql/testdata/histograms.test rename to promql/promqltest/testdata/histograms.test diff --git a/promql/testdata/literals.test b/promql/promqltest/testdata/literals.test similarity index 100% rename from promql/testdata/literals.test rename to promql/promqltest/testdata/literals.test diff --git a/promql/testdata/native_histograms.test b/promql/promqltest/testdata/native_histograms.test similarity index 100% rename from promql/testdata/native_histograms.test rename to promql/promqltest/testdata/native_histograms.test diff --git a/promql/testdata/operators.test b/promql/promqltest/testdata/operators.test similarity index 100% rename from promql/testdata/operators.test rename to promql/promqltest/testdata/operators.test diff --git a/promql/testdata/selectors.test b/promql/promqltest/testdata/selectors.test similarity index 100% rename from promql/testdata/selectors.test rename to promql/promqltest/testdata/selectors.test diff --git a/promql/testdata/staleness.test b/promql/promqltest/testdata/staleness.test similarity index 100% rename from promql/testdata/staleness.test rename to promql/promqltest/testdata/staleness.test diff --git a/promql/testdata/subquery.test b/promql/promqltest/testdata/subquery.test similarity index 100% rename from promql/testdata/subquery.test rename to promql/promqltest/testdata/subquery.test diff --git a/promql/testdata/trig_functions.test b/promql/promqltest/testdata/trig_functions.test similarity index 100% rename from promql/testdata/trig_functions.test rename to promql/promqltest/testdata/trig_functions.test