Oh my god I swapped the columns
This commit is contained in:
parent
7bc24eabe0
commit
2f8b3fcad6
|
@ -68,8 +68,8 @@ func testReader (test *testing.T, correct string, inputs ...io.Reader) {
|
|||
for index := 0; index < length; index ++ {
|
||||
left := ""
|
||||
right := ""
|
||||
if index < len(got) { left = got[index] }
|
||||
if index < len(correct) { right = correct[index] }
|
||||
if index < len(correct) { left = correct[index] }
|
||||
if index < len(got) { right = got[index] }
|
||||
|
||||
if left != right {
|
||||
printColumnsStyle(left, right, "31m")
|
||||
|
|
Loading…
Reference in New Issue