Skip to content

Commit 60e3fad

Browse files
committed
Fixed small errors in smoke test code.
1 parent e26299f commit 60e3fad

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

xtra/PATCH.LUA

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ local function patch(p)
5151
if old[1] then old[1]=old[1]:sub(2)end
5252
if new[1] then new[1]=new[1]:sub(2)end
5353
return {
54-
old = { start = tonumber(old[1]), lines = tonumber(old[2]) or 1},
55-
new = { start = tonumber(new[1]), lines = tonumber(new[2]) or 1}
54+
old = { start = tonumber(old[1]), lines = tonumber(old[2]) or 1 },
55+
new = { start = tonumber(new[1]), lines = tonumber(new[2]) or 1 }
5656
}
5757
end
5858
--TODO: Something useful with this table
59-
local hunk=parseHunkHeader()print("Hunk Header",hunk.old.start,hunk.old.count,hunk.new.start,hunk.new.lines)
59+
local hunk=parseHunkHeader()print("Hunk Header",hunk.old.start,hunk.old.lines,hunk.new.start,hunk.new.lines)
6060
--TODO: Jump through file to when hunk starts
6161
end
6262
end

0 commit comments

Comments
 (0)