Skip to content

Commit

Permalink
Get rid of base64
Browse files Browse the repository at this point in the history
  • Loading branch information
fat-fellow committed Nov 6, 2024
1 parent 52ae89c commit a63567a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tantivy_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package tantivy_go_test

import (
"encoding/base64"
"encoding/json"
"os"
"testing"
Expand Down Expand Up @@ -84,7 +83,7 @@ func Test(t *testing.T) {
NameBody,
Fragment{
[][2]int{{8, 12}},
base64.StdEncoding.EncodeToString([]byte("Example body doing")),
"Example body doing",
},
}},
},
Expand Down Expand Up @@ -366,7 +365,7 @@ func Test(t *testing.T) {
NameTitle,
Fragment{
[][2]int{{0, 2}, {0, 3}, {0, 4}},
base64.StdEncoding.EncodeToString([]byte("Crea")),
"Crea",
},
}},
},
Expand Down

0 comments on commit a63567a

Please sign in to comment.