From 3ecca03c3e88e91dd0eefce254e47b8105ca5e02 Mon Sep 17 00:00:00 2001 From: bcronin Date: Mon, 4 Mar 2024 11:38:48 -0800 Subject: [PATCH] Remove stale unit test --- lightstep/resource_dashboard_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/lightstep/resource_dashboard_test.go b/lightstep/resource_dashboard_test.go index ecdcc0d..f43d41f 100644 --- a/lightstep/resource_dashboard_test.go +++ b/lightstep/resource_dashboard_test.go @@ -1389,16 +1389,6 @@ group { resource.TestCheckResourceAttr(resourceName, "group.0.chart.0.subtitle", ""), ), }, - { - // subtitle too long, this should be a chart-level description or something - Config: fmt.Sprintf(configTemplate, `subtitle = "this number represents the percentage of CPU cycles available to us that we have actually used"`), - Check: resource.ComposeTestCheckFunc( - testAccCheckMetricDashboardExists(resourceName, &dashboard), - resource.TestCheckResourceAttr(resourceName, "group.#", "1"), - resource.TestCheckResourceAttr(resourceName, "group.0.chart.#", "1"), - ), - ExpectError: regexp.MustCompile("expected length of group.0.chart.0.subtitle to be in the range \\(0 - 37\\).*"), - }, { // normal subtitle Config: fmt.Sprintf(configTemplate, `subtitle = "percent"`),