update nonfail test

master
bel 2022-07-11 21:51:14 -06:00
parent 3dde3a723a
commit d46d4bc272
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -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) {