diff options
| author | Rutger Broekhoff | 2021-05-22 11:07:03 +0200 |
|---|---|---|
| committer | Rutger Broekhoff | 2021-05-22 11:07:13 +0200 |
| commit | 39deabb251e81d3a4f4777cec3ce32f5356fe842 (patch) | |
| tree | 798297cf93ba0b6a90a1f5e871ea9f8166957e73 /src/nkeys.zig | |
| parent | 14bb72bf0176e395723f31ad071480a3160e0130 (diff) | |
| download | zig-nkeys-39deabb251e81d3a4f4777cec3ce32f5356fe842.tar.gz zig-nkeys-39deabb251e81d3a4f4777cec3ce32f5356fe842.zip | |
Make Base32 encoder an iterator
Diffstat (limited to 'src/nkeys.zig')
| -rw-r--r-- | src/nkeys.zig | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/nkeys.zig b/src/nkeys.zig index e8df83d..b8693ae 100644 --- a/src/nkeys.zig +++ b/src/nkeys.zig | |||
| @@ -522,9 +522,8 @@ test { | |||
| 522 | test { | 522 | test { |
| 523 | var creds_bytes = try std.fs.cwd().readFileAlloc(testing.allocator, "fixtures/test.creds", std.math.maxInt(usize)); | 523 | var creds_bytes = try std.fs.cwd().readFileAlloc(testing.allocator, "fixtures/test.creds", std.math.maxInt(usize)); |
| 524 | defer testing.allocator.free(creds_bytes); | 524 | defer testing.allocator.free(creds_bytes); |
| 525 | 525 | ||
| 526 | // TODO(rutgerbrf): validate the contents of the results of these functions | 526 | // TODO(rutgerbrf): validate the contents of the results of these functions |
| 527 | _ = try parseDecoratedUserNKey(creds_bytes); | 527 | _ = try parseDecoratedUserNKey(creds_bytes); |
| 528 | _ = try parseDecoratedJwt(creds_bytes); | 528 | _ = try parseDecoratedJwt(creds_bytes); |
| 529 | } | 529 | } |
| 530 | |||