Skip to content

Commit ae4428e

Browse files
committed
remove unneeded print
1 parent 6b1bd13 commit ae4428e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

parsers/html.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,6 @@ func ParseHTMLQueries(htmlData []byte, queries []string, nextPage string) ([]int
8787
if nextPage != "" {
8888
nextPageURL = doc.Find(nextPage).First().AttrOr("href", "")
8989
}
90+
9091
return result, nextPageURL, nil
9192
}

parsers/playwright_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package parsers
22

33
import (
4-
"fmt"
54
"testing"
65

76
"github.com/bjesus/pipet/common"
@@ -17,7 +16,7 @@ func TestExecutePlaywrightBlock(t *testing.T) {
1716
}
1817
result, err := ExecutePlaywrightBlock(block)
1918
expected := []interface{}{[]interface{}{"Example", "Domain"}, "11\n"}
20-
fmt.Printf("%v", result)
19+
2120
assert.NoError(t, err)
2221
assert.NotNil(t, result)
2322
assert.Equal(t, expected, result) // Mocked JSON output

0 commit comments

Comments
 (0)