From d4e393604b20fb7dab4f1046c1eec277a72e3741 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Fri, 29 Nov 2013 15:09:17 +0100 Subject: [mcb] add test for callback_descriptions() --- luatexbase-mcb.dtx | 1 + 1 file changed, 1 insertion(+) diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx index 532cfbb..df95170 100644 --- a/luatexbase-mcb.dtx +++ b/luatexbase-mcb.dtx @@ -988,6 +988,7 @@ luatexbase.add_to_callback("hpack_filter", sample, "sample two", 2) luatexbase.add_to_callback("hpack_filter", sample, "sample three", 1) assert(prio("hpack_filter", "sample three")) assert(is_active("hpack_filter", "sample three") == true) +assert(#luatexbase.callback_descriptions("hpack_filter") == 3) luatexbase.remove_from_callback("hpack_filter", "sample three") assert(not prio("hpack_filter", "sample three")) assert(is_active("hpack_filter", "sample three") == false) -- cgit v1.2.3