Help with GNU Emacs syntax.el and XEmacs buffer-syntactic-context et al?
Stephen J. Turnbull
stephen at xemacs.org
Tue Jun 14 00:23:35 EDT 2011
Mats Lidell writes:
> What about this one then. The test
>
> (Assert (eq 1 1))
>
> displays "2 of 2 tests successful (100%)."
>
> But that is only one Assert!? Why does it say it is two tests? Bug or
> am I doing something wrong or!?
Thanks you for an easy one! ;-)
All tests are run twice. The code in each test file is run once
uncompiled, then once compiled. Both are counted.
The idea is to catch breakage in the byte compiler or interpreter,
where one of them does something different from the language
definition but the other gets it right. I don't know if this has ever
actually identified a bug. :-) Aidan?
More information about the XEmacs-Beta
mailing list