Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
1riatsila1 committed Nov 12, 2024
1 parent ab999f5 commit a2914bc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
6 changes: 5 additions & 1 deletion test/live/datasources/sensor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ func TestSensorDataSource(t *testing.T) {
}
}
`,
Check: util.CheckDataSourceStateAgainstSensor(t, "data.uxi_sensor.my_sensor", sensor),
Check: util.CheckDataSourceStateAgainstSensor(
t,
"data.uxi_sensor.my_sensor",
sensor,
),
},
},
})
Expand Down
12 changes: 10 additions & 2 deletions test/live/resources/sensor_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,11 @@ func TestSensorResource(t *testing.T) {
notes = "` + updatedSensor.GetNotes() + `"
pcap_mode = "` + updatedSensor.GetPcapMode() + `"
}`,
Check: util.CheckResourceStateAgainstSensor(t, "uxi_sensor.my_sensor", updatedSensor),
Check: util.CheckResourceStateAgainstSensor(
t,
"uxi_sensor.my_sensor",
updatedSensor,
),
},
// Update sensor back to original
{
Expand All @@ -83,7 +87,11 @@ func TestSensorResource(t *testing.T) {
notes = "` + originalSensor.GetNotes() + `"
pcap_mode = "` + originalSensor.GetPcapMode() + `"
}`,
Check: util.CheckResourceStateAgainstSensor(t, "uxi_sensor.my_sensor", originalSensor),
Check: util.CheckResourceStateAgainstSensor(
t,
"uxi_sensor.my_sensor",
originalSensor,
),
},
// Deleting a sensor is not allowed
{
Expand Down

0 comments on commit a2914bc

Please sign in to comment.