Skip to content

Commit

Permalink
I left a fmt.Println(), which is annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
John Doak authored and John Doak committed Jul 7, 2022
1 parent 6880ce2 commit 5cdf7a3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions halfpike.go
Original file line number Diff line number Diff line change
Expand Up @@ -410,12 +410,10 @@ func (p *Parser) pull() Line {
line.LineNum = item.lineNum
item.raw = ""
item.lineNum = 0
fmt.Println("item.raw: ", item.raw)
line.Items = append(line.Items, item)
return
}
item.raw = ""
fmt.Println("item.raw: ", item.raw)
line.Items = append(line.Items, item)
}
}()
Expand Down
2 changes: 0 additions & 2 deletions halfpike_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package halfpike

import (
"context"
"log"
"os"
"strings"
"testing"
Expand Down Expand Up @@ -346,7 +345,6 @@ func (s *startWithCarriageObj) Start(ctx context.Context, p *Parser) ParseFn {
for {
line := p.Next()
if strings.HasPrefix(line.Raw, "\n") {
log.Printf("raw: %q", line.Raw)
return p.Errorf("[LineNum %d]: line.Raw begins with \\n", line.LineNum)
}
if p.EOF(line) {
Expand Down

0 comments on commit 5cdf7a3

Please sign in to comment.