diff options
Diffstat (limited to 'luatexbase-attr.dtx')
-rw-r--r-- | luatexbase-attr.dtx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/luatexbase-attr.dtx b/luatexbase-attr.dtx index f5e3093..03653b7 100644 --- a/luatexbase-attr.dtx +++ b/luatexbase-attr.dtx @@ -409,7 +409,9 @@ end %<*testplain,testlatex> \newluatexattribute\testattr \setluatexattribute\testattr{1} +\ifnum\testattr=1 \else \ERROR \fi \unsetluatexattribute\testattr +\ifnum\testattr<0 \else \ERROR \fi \catcode64 11 \luatexbase@directlua{assert(luatexbase.attributes.testattr)} \luatexbase@directlua{luatexbase.new_attribute('luatestattr')} |