summaryrefslogtreecommitdiff
path: root/src/Places.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/Places.zig')
-rw-r--r--src/Places.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Places.zig b/src/Places.zig
index ddbbc271..6aab0684 100644
--- a/src/Places.zig
+++ b/src/Places.zig
@@ -810,7 +810,7 @@ test "places: * finds them all, n and N step them round the end silently, an edi
try std.testing.expectEqual(before.start + 6, set.hits.items[3].start);
try std.testing.expectEqual(@as(?usize, 3), set.current);
// Another `/` register (an `s`, a search elsewhere): n is helix's again.
- p.registers.put(p.gpa, '/', "gamma", 0, 1, true);
+ try p.registers.put(p.gpa, '/', "gamma", 0, 1, true);
try std.testing.expect(!set.answersN(p, pane));
}