diff options
| author | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-09 16:08:19 +0530 |
|---|---|---|
| committer | Sunil Nimmagadda <sunil@nimmagadda.net> | 2026-11-09 16:08:19 +0530 |
| commit | 723930b47385bd50d9e7e3dba3fcb0cfce58432c (patch) | |
| tree | edcb69c44ee114f52fb9037599302a571f1bf34b | |
| parent | fff62e10be673136638b7004eccf4d7070c05142 (diff) | |
Let's fix that trailing comma.
| -rw-r--r-- | .luafmt.toml | 2 | ||||
| -rw-r--r-- | elf/test.lua | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/.luafmt.toml b/.luafmt.toml index e63ec18..ed6d6c1 100644 --- a/.luafmt.toml +++ b/.luafmt.toml @@ -3,4 +3,4 @@ max_line_width = 81 [output] trailing_comma = "Multiline" -trailing_table_separator = "Inherit" +trailing_table_separator = "Always" 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") |
