File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -165,8 +165,17 @@ static void test_add_custom_tracer_named() {
165
165
wr = nr_php_add_custom_tracer_named (NR_PSTR ("scope_name::" ));
166
166
tlib_pass_if_null ("add_custom_tracer_named with name ending with :" , wr );
167
167
168
+ wr = nr_php_add_custom_tracer_named (NR_PSTR ("function_name" ));
169
+ tlib_pass_if_not_null (
170
+ "add_custom_tracer_named with valid name "
171
+ "(unscoped global function)" ,
172
+ wr );
173
+
168
174
wr = nr_php_add_custom_tracer_named (NR_PSTR ("scope_name::function_name" ));
169
- tlib_pass_if_not_null ("add_custom_tracer_named with valid name" , wr );
175
+ tlib_pass_if_not_null (
176
+ "add_custom_tracer_named with valid name "
177
+ "(scoped method)" ,
178
+ wr );
170
179
171
180
tlib_php_request_end ();
172
181
}
You can’t perform that action at this time.
0 commit comments