From f78b029e55db9bce054d7b7cb7e290f2a4ade964 Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Tue, 25 May 2021 20:39:45 +0200 Subject: Give all tests names --- src/nkeys.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nkeys.zig') diff --git a/src/nkeys.zig b/src/nkeys.zig index 1d15623..05922bd 100644 --- a/src/nkeys.zig +++ b/src/nkeys.zig @@ -455,7 +455,7 @@ fn wipeBytes(bs: []u8) void { for (bs) |*b| b.* = 0; } -test { +test "reference all delcarations" { testing.refAllDecls(@This()); testing.refAllDecls(Role); testing.refAllDecls(SeedKeyPair); @@ -463,7 +463,7 @@ test { testing.refAllDecls(PrivateKey); } -test { +test "key conversions" { var key_pair = try SeedKeyPair.generate(.server); var decoded_seed = try SeedKeyPair.fromTextSeed(&key_pair.seedText()); try testing.expect(isValidEncoding(&decoded_seed.seedText())); -- cgit v1.2.3