Files
nxdns/tests/fixtures/fixtures.zig
T

10 lines
508 B
Zig

//! Test fixtures embedded as a separate module so `@embedFile` paths stay
//! inside this directory (a module root may not embed files above itself).
//! See tests/fixtures/README.md — the private key is not a secret.
pub const cert_pem: [:0]const u8 = @embedFile("self_signed_cert.pem");
pub const key_pem: [:0]const u8 = @embedFile("self_signed_key.pem");
/// A well-formed private key that does not belong to `cert_pem`.
pub const mismatched_key_pem: [:0]const u8 = @embedFile("mismatched_key.pem");