Skip to content

Commit

Permalink
why am i like this
Browse files Browse the repository at this point in the history
  • Loading branch information
MisterSquishy committed Feb 21, 2024
1 parent 226ff2d commit ebea393
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lightstep/resource_event_query_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ resource "lightstep_event_query" "terraform" {
name = "updated name"
type = "test-type"
source = "test-source"
query_string = "logs"
query_string = "logs | filter foo == bar"
}
`
resource.Test(t, resource.TestCase{
Expand All @@ -51,6 +51,9 @@ resource "lightstep_event_query" "terraform" {
Check: resource.ComposeTestCheckFunc(
testAccCheckEventQueryExists("lightstep_event_query.terraform", &eventQuery),
resource.TestCheckResourceAttr("lightstep_event_query.terraform", "name", "updated name"),
resource.TestCheckResourceAttr("lightstep_event_query.terraform", "type", "test-type"),
resource.TestCheckResourceAttr("lightstep_event_query.terraform", "source", "test-source"),
resource.TestCheckResourceAttr("lightstep_event_query.terraform", "query_string", "logs | filter foo == bar"),
),
},
},
Expand Down

0 comments on commit ebea393

Please sign in to comment.