• Gemini Lasswell's avatar
    Create common tests for print.c and cl-print.el · 3bd6ef40
    Gemini Lasswell authored
    * test/lisp/emacs-lisp/cl-print-tests.el
    (cl-print--test, cl-print-tests-1, cl-print-tests-2)
    (cl-print-tests-3, cl-print-tests-4, cl-print-tests-5)
    (cl-print-tests-strings, cl-print-circle, cl-print-circle-2):
    Remove.
    * test/src/print-tests.el (print-tests--prin1-to-string): New
    alias.
    (print-tests--deftest): New macro.
    (print-hex-backslash, print-read-roundtrip, print-bignum): Define with
    print-tests--deftest and use print-tests--prin1-to-string.
    (print-tests--prints-with-charset-p): Use
    print-tests--prin1-to-string.
    (print-tests--print-charset-text-property-nil)
    (print-tests--print-charset-text-property-t)
    (print-tests--print-charset-text-property-default): Define with
    print-tests--deftest.
    (print-tests-print-gensym)
    (print-tests-continuous-numbering, print-tests-1, print-tests-2)
    (print-tests-3, print-tests-4, print-tests-5)
    (print-tests-strings, print-circle, print-circle-2): New tests.
    (print--test, print-tests-struct): New cl-defstructs.
    3bd6ef40
cl-print-tests.el 6.52 KB