name the encapsulation test after what it covers

This commit is contained in:
2026-10-19 15:34:10 +03:00
parent 958978efd3
commit 8f7b26eafa
2 changed files with 4 additions and 5 deletions

View File

@@ -109,6 +109,7 @@ SEX_TEST_PROGRAMS = c11 \
closures \
comments \
compound-literals \
encapsulation \
feature-flags \
features \
fixpoint \
@@ -126,8 +127,7 @@ SEX_TEST_PROGRAMS = c11 \
type-shapes \
unicode \
unnamed-params \
wildcards \
worked-example
wildcards
# Multi-module linking is checked end to end; see tests/modules/Makefile.
check-modules: sexc

View File

@@ -3,9 +3,8 @@
"-5")
(return 0)
;;; The worked example from Encapsulation.org, kept here so it stays
;;; true: a recursive sum, an inherent method on it, and a spec
;;; realized for it, which is every layer that is built at once.
;;; A recursive sum, an inherent method on it, and a spec realized for
;;; it: every layer of encapsulation in one program, built at once.
(include stdio.h)