From ca8dd03efcae58d8bda9c31519fdc241bfd87efc Mon Sep 17 00:00:00 2001 From: Rutger Broekhoff Date: Fri, 21 May 2021 19:32:21 +0200 Subject: Partially test parseDecoratedJwt --- src/nkeys.zig | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') diff --git a/src/nkeys.zig b/src/nkeys.zig index 23594a0..e8df83d 100644 --- a/src/nkeys.zig +++ b/src/nkeys.zig @@ -522,5 +522,9 @@ test { test { var creds_bytes = try std.fs.cwd().readFileAlloc(testing.allocator, "fixtures/test.creds", std.math.maxInt(usize)); defer testing.allocator.free(creds_bytes); + + // TODO(rutgerbrf): validate the contents of the results of these functions _ = try parseDecoratedUserNKey(creds_bytes); + _ = try parseDecoratedJwt(creds_bytes); } + -- cgit v1.2.3