Skip to content

Commit aec9bfe

Browse files
committed
test(pipeline): clarify cross-language fixture comments
Signed-off-by: astandrik <astandrik@yandex-team.ru>
1 parent 8e29e15 commit aec9bfe

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎tests/test_pipeline.c‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4802,7 +4802,7 @@ TEST(pipeline_python_receiver_suppresses_weak_method_edge) {
48024802
* path and both must consult the guard. */
48034803
static void write_go_c_ref_guard_fixture(const char *tmp, int pad_files) {
48044804
write_temp_file(tmp, "go.mod", "module example.com/fxguard\n\ngo 1.22\n");
4805-
/* Both C targets must be indexed: block-local C variables are not emitted,
4805+
/* C targets must be indexed: block-local C variables are not emitted,
48064806
* so keep event at file scope for the cross-language reference guard. */
48074807
write_temp_file(tmp, "probe/probe.c",
48084808
"static int total_events = 0;\n"
@@ -4813,8 +4813,8 @@ static void write_go_c_ref_guard_fixture(const char *tmp, int pad_files) {
48134813
" total_events += event;\n"
48144814
" return event;\n"
48154815
"}\n");
4816-
/* Go: a local write named like the C local, and a value use named like
4817-
* the C function. Neither can touch anything in a C translation unit. */
4816+
/* Go local writes and value uses must not bind to the C variables or
4817+
* functions in this fixture. */
48184818
write_temp_file(tmp, "app/app.go",
48194819
"package app\n"
48204820
"\n"

0 commit comments

Comments
 (0)