Function texlang_stdlib::prefix::get_assert_global_is_false
source · pub fn get_assert_global_is_false<S: HasComponent<Component>>() -> BuiltIn<S>
Expand description
Get an execution command that checks that the global flag is off.
This command is used for unit testing Texlang.
It tests that functions that can be prefixed with \global
are following the convention described in the module docs.
To use it, create a test for the following TeX snippet:
\global \command <input to command> \assertGlobalIsFalse