summaryrefslogtreecommitdiff
path: root/test/behaviour/root_ctl.zig
diff options
context:
space:
mode:
Diffstat (limited to 'test/behaviour/root_ctl.zig')
-rw-r--r--test/behaviour/root_ctl.zig1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/behaviour/root_ctl.zig b/test/behaviour/root_ctl.zig
index f7ebbbb9..90838d90 100644
--- a/test/behaviour/root_ctl.zig
+++ b/test/behaviour/root_ctl.zig
@@ -42,6 +42,7 @@ test "root-ctl: the root ctl reads the settings as a write takes them, and takes
var s = try Session.initFile(std.testing.allocator, "x\n");
defer s.deinit();
const settings = try s.read("/ctl");
+ try std.testing.expectEqual(@as(u64, settings.len), (try s.stat("/ctl")).size);
try std.testing.expect(has(settings, "Verbose on\n"));
try std.testing.expect(has(settings, "LocationsConfig "));
try std.testing.expect(has(settings, "CallstackDepth 8\n"));