Skip to content

Commit e78b666

Browse files
committed
chore(instrumentation/rum): add TODO for comment handling in RUM injector tests
1 parent d8a4292 commit e78b666

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

instrumentation/rum/inject_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ func TestInjectorWrite(t *testing.T) {
9494
{"spaces", "abc</hea d>def", "abc</hea d>def"},
9595
{"spaces", "abc</head >def", "abc<snippet></head >def"},
9696
{"spaces", "abc</head> def", "abc<snippet></head> def"},
97+
// {"comment", "<!-- </head>", "<!-- </head>"}, // TODO: don't inject if </head> is found in a comment
9798
}
9899

99100
for _, tc := range cases {

0 commit comments

Comments
 (0)