From: Jérémie Galarneau Date: Thu, 12 Feb 2015 20:51:49 +0000 (-0500) Subject: Tests: fix misleading comment X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=d8469458b335c4db0846534d4db4638b4499e108;p=deliverable%2Fbabeltrace.git Tests: fix misleading comment The test only validates that the event header's default field are as documented in the API's documentation. Signed-off-by: Jérémie Galarneau --- diff --git a/tests/lib/test_ctf_writer.c b/tests/lib/test_ctf_writer.c index a938a9d71..cd92986b3 100644 --- a/tests/lib/test_ctf_writer.c +++ b/tests/lib/test_ctf_writer.c @@ -1789,7 +1789,7 @@ int main(int argc, char **argv) ok(bt_ctf_stream_class_get_id(stream_class) == 123, "bt_ctf_stream_class_get_id returns the correct value"); - /* Add a custom event header field */ + /* Validate default event header fields */ ok(bt_ctf_stream_class_get_event_header_type(NULL) == NULL, "bt_ctf_stream_class_get_event_header_type handles NULL correctly"); ret_field_type = bt_ctf_stream_class_get_event_header_type(