X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Ftest_ctf_writer.c;h=28ffae51f195a1b691f5524660a89dbd66cd847c;hp=0927a325cc0a06ab7b071b554d760ff5a4e8aa2b;hb=35628ac71c433580daba71470a5d877f46c5c652;hpb=8d88132e5cd9c72c762a63b444feebaa020f391f diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index 0927a325..28ffae51 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -621,7 +621,7 @@ void type_field_tests() ok(!enumeration_array_type, "Check enumeration types are validated when creating an array"); ok(bt_ctf_field_type_structure_add_field(composite_structure_type, - enumeration_type, "enumeration") == 0, + enumeration_type, "enumeration"), "Check enumeration types are validated when adding them as structure members"); enumeration = bt_ctf_field_create(enumeration_type); ok(!enumeration,