From e3958fef18a5a802988b56d9ee94b27788bebfa4 Mon Sep 17 00:00:00 2001 From: 1riatsila1 Date: Mon, 9 Dec 2024 10:55:18 +0200 Subject: [PATCH] remove comments --- test/mocked/resources/agent_test.go | 1 - test/mocked/resources/sensor_test.go | 1 - 2 files changed, 2 deletions(-) diff --git a/test/mocked/resources/agent_test.go b/test/mocked/resources/agent_test.go index af82212..7656891 100644 --- a/test/mocked/resources/agent_test.go +++ b/test/mocked/resources/agent_test.go @@ -142,7 +142,6 @@ func Test_AgentResource_WithInvalidPcapMode_ShouldFail(t *testing.T) { notes = "notes" pcap_mode = "invalid_pcap_mode" }`, - // ExpectError: regexp.MustCompile(`(?s)Attribute pcap_mode value must be one of: ["light" "full" "off"]`), ExpectError: regexp.MustCompile( `(?s)Attribute pcap_mode value must be one of: \["light" "full" "off"\], got:\s*"invalid_pcap_mode"`, ), diff --git a/test/mocked/resources/sensor_test.go b/test/mocked/resources/sensor_test.go index 50d7715..4bb14c0 100644 --- a/test/mocked/resources/sensor_test.go +++ b/test/mocked/resources/sensor_test.go @@ -163,7 +163,6 @@ func Test_SensorResource_WithInvalidPcapMode_ShouldFail(t *testing.T) { notes = "notes" pcap_mode = "invalid_pcap_mode" }`, - // ExpectError: regexp.MustCompile(`(?s)Attribute pcap_mode value must be one of: ["light" "full" "off"]`), ExpectError: regexp.MustCompile( `(?s)Attribute pcap_mode value must be one of: \["light" "full" "off"\], got:\s*"invalid_pcap_mode"`, ),