Require subr-x in card-games-net; skip SVG tests without SVG

card-games-net.el calls string-empty-p, which lives in subr-x before
Emacs 29; without the require a fresh Emacs 27 reported a void function
in every networked test.  The SVG smoke and region tests now skip when
the Emacs has no SVG support, so the suite reads 145 expected, 20
skipped there instead of 25 failures.

* card-games-net.el: Require subr-x.
* test/card-games-tests.el: Skip the SVG tests unless SVG is available.
* NEWS: Note both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01U2Fb1SzFi8UuJdUm96qx83
This commit is contained in:
Corwin Brust 2026-10-04 19:09:07 +00:00
parent 1a5d23d39e
commit e78fe38381
3 changed files with 26 additions and 0 deletions

View file

@ -48,6 +48,7 @@
;;; Code:
(require 'subr-x)
(require 'card-games-core)
(defgroup card-games-net nil