Skip to content

Commit d845ea6

Browse files
Merge pull request #12 from giusdp/main
Fix tests
2 parents 4c2d3fb + 79cac42 commit d845ea6

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

tools/render_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
func Example_markdown2text() {
88
markdown, _ := GetMarkDown("base64")
99
fmt.Println(len(MarkdownToText(markdown)))
10-
// Output: 737
10+
// Output: 697
1111
}
1212

1313
func Example_extractUsage() {

tools/tools_test.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ package tools
22

33
import (
44
"fmt"
5-
"github.com/stretchr/testify/require"
65
"testing"
6+
7+
"github.com/stretchr/testify/require"
78
)
89

910
func TestMarkdownHelp(t *testing.T) {
@@ -32,5 +33,5 @@ func TestGetMarkDownError(t *testing.T) {
3233
func ExampleMergeToolsList() {
3334
mergedList := MergeToolsList([]string{})
3435
fmt.Println(len(mergedList))
35-
//Output: 24
36+
//Output: 25
3637
}

0 commit comments

Comments
 (0)