diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-29 15:09:17 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2013-11-29 15:09:17 +0100 |
commit | d4e393604b20fb7dab4f1046c1eec277a72e3741 (patch) | |
tree | 1049b015edfd32788e26307b0c7410a3a9e32d2c | |
parent | 84473fa4bd42deecedd6e8e5befc8a0174f0f1b8 (diff) | |
download | luatexbase-d4e393604b20fb7dab4f1046c1eec277a72e3741.tar.gz |
[mcb] add test for callback_descriptions()
-rw-r--r-- | luatexbase-mcb.dtx | 1 |
1 files changed, 1 insertions, 0 deletions
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) |