diff options
| author | Taylan Kammer <taylan.kammer@gmail.com> | 2026-06-06 05:51:16 +0200 |
|---|---|---|
| committer | Taylan Kammer <taylan.kammer@gmail.com> | 2026-06-06 05:51:16 +0200 |
| commit | 23b632b61dee4c489bda4626d6b3ccff548a9ccc (patch) | |
| tree | 934ff685e7038b1d65de86c60da101799d50d7a3 /src/test | |
| parent | abdc8526797236fd55c70fb4e1a3fef7c4fb23fb (diff) | |
Overhaul and fix IstrSet.
Diffstat (limited to 'src/test')
| -rw-r--r-- | src/test/strings.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/strings.zig b/src/test/strings.zig index 3039615..09c8e2a 100644 --- a/src/test/strings.zig +++ b/src/test/strings.zig @@ -12,13 +12,13 @@ const fx = value.fixnum; test "istr" { const s1 = "foo bar baz"; const v1 = try istr.intern(s1); - const v1_len: usize = @intCast(fx.unpack(istr.len(v1))); + const v1_len: usize = @intCast(fx.unpack(istr.getLen(v1))); try testing.expectEqualStrings(s1, istr.assert(v1).str()); try testing.expectEqual(s1.len, v1_len); const s2 = @embedFile("data/string.txt"); const v2 = try istr.intern(s2); - const v2_len: usize = @intCast(fx.unpack(istr.len(v2))); + const v2_len: usize = @intCast(fx.unpack(istr.getLen(v2))); try testing.expectEqualStrings(s2, istr.assert(v2).str()); try testing.expectEqual(s2.len, v2_len); |
