diff options
| author | Olivier Certner <olce@FreeBSD.org> | 2026-11-20 13:57:52 +0000 |
|---|---|---|
| committer | Olivier Certner <olce@FreeBSD.org> | 2026-11-26 10:50:29 +0000 |
| commit | 7aa01f3699150a4116fd3118346ed6bed52653c5 (patch) | |
| tree | ac6944a34e47cc84485b6677e80114f220c36f1a /contrib/libyaml/examples/json.yaml | |
| parent | 1a80570a3940679ee907bd01c5388ab0385c06a7 (diff) | |
In order to avoid name collisions with standard library functions, wrap
everything but the functions to test in a !LIBKERN_TESTING section, so
that when LIBKERN_TESTING is defined, all untested parts are not
defined. Leave a comment there suggesting selective namespacing when
adding tests to string functions having same name in the standard
library.
Reviewed by: fuz
MFC with: a6e81841486a ("libkern: Bitfield extraction: Stick to standard, separate sign extension")
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61963
Diffstat (limited to 'contrib/libyaml/examples/json.yaml')
0 files changed, 0 insertions, 0 deletions
