Skip to content

Commit

Permalink
Remove stale unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
bcronin committed Mar 4, 2024
1 parent a5299d4 commit 3ecca03
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions lightstep/resource_dashboard_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`),
Expand Down

0 comments on commit 3ecca03

Please sign in to comment.