Skip to content

Commit a7d1ea4

Browse files
committed
chore: adjust testdata structure
1 parent fb78d33 commit a7d1ea4

File tree

10 files changed

+1
-1
lines changed

10 files changed

+1
-1
lines changed

agent/agentcontainers/containers_internal_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ func TestConvertDockerInspect(t *testing.T) {
605605
// nolint:paralleltest // variable recapture no longer required
606606
t.Run(tt.name, func(t *testing.T) {
607607
t.Parallel()
608-
bs, err := os.ReadFile(filepath.Join("testdata", tt.name+".json"))
608+
bs, err := os.ReadFile(filepath.Join("testdata", tt.name, "docker_inspect.json"))
609609
require.NoError(t, err, "failed to read testdata file")
610610
actual, warns, err := convertDockerInspect(string(bs))
611611
if len(tt.expectWarns) > 0 {

0 commit comments

Comments
 (0)