Skip to content

Commit e44f4b9

Browse files
committed
Fix formatting
1 parent 3e4b5bc commit e44f4b9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

build.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub fn build(b: *Builder) void {
1010
lib.setBuildMode(mode);
1111
lib.install();
1212

13-
const main_tests = b.addTest("src/tests.zig");
13+
const main_tests = b.addTest("src/tests.zig");
1414
main_tests.linkLibC();
1515
main_tests.addSystemIncludeDir("./src/c_include");
1616
main_tests.linkSystemLibrary("jemalloc");

src/tests.zig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ test "allocate memory and free" {
88
height: i32,
99
index: usize,
1010
};
11-
11+
1212
const memory: []TestStruct = jemalloc_allocator.alloc(TestStruct, 1) catch @panic("test failure");
1313
jemalloc_allocator.free(memory);
1414
}
@@ -20,7 +20,7 @@ test "allocate memory, use it and free" {
2020
title: []const u8,
2121
index: usize,
2222
};
23-
23+
2424
const memory: []TestStruct = jemalloc_allocator.alloc(TestStruct, 1) catch @panic("test failure");
2525

2626
memory[0] = TestStruct{

0 commit comments

Comments
 (0)