From d8469458b335c4db0846534d4db4638b4499e108 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Galarneau?= Date: Thu, 12 Feb 2015 15:51:49 -0500 Subject: [PATCH] Tests: fix misleading comment MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- tests/lib/test_ctf_writer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- 2.34.1