aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2026-11-09 16:08:19 +0530
committerSunil Nimmagadda <sunil@nimmagadda.net>2026-11-09 16:08:19 +0530
commit723930b47385bd50d9e7e3dba3fcb0cfce58432c (patch)
treeedcb69c44ee114f52fb9037599302a571f1bf34b /elf
parentfff62e10be673136638b7004eccf4d7070c05142 (diff)
Let's fix that trailing comma.
Diffstat (limited to 'elf')
-rw-r--r--elf/test.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/elf/test.lua b/elf/test.lua
index 4409413..717e03e 100644
--- a/elf/test.lua
+++ b/elf/test.lua
@@ -140,7 +140,7 @@ test("header.pack 64_le_x86-64", function ()
"0000", -- phnum
"4000", -- shentsize
"0000", -- shnum
- "0000" -- shstrndx
+ "0000", -- shstrndx
}))
local actual = elf_header.pack(elf_header.normalize(h))
assert(#actual == 64, "invalid ELF64 header size")
@@ -180,7 +180,7 @@ test("header.pack 32_le_i386", function ()
"3938", -- phnum
"3b3a", -- shentsize
"3d3c", -- shnum
- "3f3e" -- shstrndx
+ "3f3e", -- shstrndx
}))
local actual = elf_header.pack(elf_header.normalize(h))
assert(#actual == 52, "invalid ELF32 header size")
@@ -220,7 +220,7 @@ test("header.pack 32_be_i386", function ()
"3839", -- phnum
"3a3b", -- shentsize
"3c3d", -- shnum
- "3e3f" -- shstrndx
+ "3e3f", -- shstrndx
}))
local actual = elf_header.pack(elf_header.normalize(h))
assert(#actual == 52, "invalid ELF32 header size")
@@ -260,7 +260,7 @@ test("header.pack 64_be_x86-64", function ()
"3839", -- phnum
"3a3b", -- shentsize
"3c3d", -- shnum
- "3e3f" -- shstrndx
+ "3e3f", -- shstrndx
}))
local actual = elf_header.pack(elf_header.normalize(h))
assert(#actual == 64, "invalid ELF64 header size")