The wrap_sizeof_call test rule is missing the path field. We need this field to specify where to locate the Wrapper function
|
wrap_sizeof_call: |
|
target: main |
|
function_call: unsafe.Sizeof |
|
replace: "Wrapper({{ . }})" |
wrap_sizeof_with_strings has the same issue.
We should do a thorough review to catch all missing path fields.
The wrap_sizeof_call test rule is missing the
pathfield. We need this field to specify where to locate theWrapperfunctionopentelemetry-go-compile-instrumentation/tool/internal/instrument/testdata/golden/call-rule-only/rules.yml
Lines 1 to 4 in 8c7600d
wrap_sizeof_with_strings has the same issue.
We should do a thorough review to catch all missing path fields.