X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Ftest_ctf_writer.c;fp=tests%2Flib%2Ftest_ctf_writer.c;h=e2cf2434f1f287725afe2cc648d2330e800dfa96;hp=99783406e366fd66d2384fa2b9dafeb54d79647a;hb=beb0f041dc0948c3a7b08969a9af02624a54e99d;hpb=5de3705f80e62b1fe88198f20ae01a21f612fb0f diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index 99783406..e2cf2434 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -747,7 +747,7 @@ void append_complex_event(struct bt_ctf_stream_class *stream_class, enum_variant_type, "variant_selector"), "Add variant_selector field to complex structure"); ok(!bt_ctf_field_type_structure_add_field(complex_structure_type, - string_type, "a_string"), "Add a_string field to complex structure"); + string_type, "string"), "Add `string` field to complex structure"); ok(!bt_ctf_field_type_structure_add_field(complex_structure_type, variant_type, "variant_value"), "Add variant_value field to complex structure"); @@ -933,7 +933,7 @@ void append_complex_event(struct bt_ctf_stream_class *stream_class, inner_structure_field = bt_ctf_field_structure_get_field( complex_structure_field, "inner_structure"); a_string_field = bt_ctf_field_structure_get_field( - complex_structure_field, "a_string"); + complex_structure_field, "string"); enum_variant_field = bt_ctf_field_structure_get_field( complex_structure_field, "variant_selector"); variant_field = bt_ctf_field_structure_get_field(