From bb80426a4d2552d690272cb5357daf87a453b267 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 8 Dec 2020 18:12:27 -0600 Subject: [PATCH] f --- tests/test_png.nim | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_png.nim b/tests/test_png.nim index 7fa59c1..719bb8b 100644 --- a/tests/test_png.nim +++ b/tests/test_png.nim @@ -17,10 +17,10 @@ for channels in 1 .. 4: var data: seq[uint8] for x in 0 ..< 16: for y in 0 ..< 16: - var components = newSeq[uint8](channels) - for i in 0 ..< channels: - components[i] = (x * 16).uint8 - data.add(components) + var components = newSeq[uint8](channels) + for i in 0 ..< channels: + components[i] = (x * 16).uint8 + data.add(components) let encoded = encodePng(16, 16, channels, data[0].addr, data.len) for file in pngSuiteCorruptedFiles: