diff --git a/main.go b/main.go index 2c62f1a..2689ae0 100644 --- a/main.go +++ b/main.go @@ -62,7 +62,6 @@ func putPage(b []byte) error { func _putPage(w io.Writer, b []byte, d byte, instances int) error { nonFirstColumn := []byte{} for _, line := range lines(b) { - //line = bytes.TrimSpace(line) i := 0 for i < len(line) && line[i] == d { i += 1 diff --git a/main_test.go b/main_test.go index ad9db95..967e8f1 100644 --- a/main_test.go +++ b/main_test.go @@ -20,7 +20,7 @@ func Test_Main(t *testing.T) { t.Error(err) } t.Logf("input:\n%s", input) - t.Errorf("result:\n%s", stdout.(*bytes.Buffer).Bytes()) + t.Logf("result:\n%s", stdout.(*bytes.Buffer).Bytes()) } func TestReadPage(t *testing.T) {