update nonfail test
parent
3dde3a723a
commit
d46d4bc272
1
main.go
1
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
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue