Other: Add v2 to module name

This commit is contained in:
James Houlahan
2022-05-31 15:54:04 +02:00
parent 098956b81a
commit 4edf2eb92c
230 changed files with 696 additions and 642 deletions

View File

@ -36,7 +36,6 @@ func newTestParser(t *testing.T, msg string) *Parser {
func getFileReader(filename string) io.ReadCloser {
f, err := os.Open(filepath.Join("testdata", filename))
if err != nil {
panic(err)
}

View File

@ -23,7 +23,7 @@ import (
"mime"
"unicode/utf8"
pmmime "github.com/ProtonMail/proton-bridge/pkg/mime"
pmmime "github.com/ProtonMail/proton-bridge/v2/pkg/mime"
"github.com/PuerkitoBio/goquery"
"github.com/emersion/go-message"
"github.com/sirupsen/logrus"

View File

@ -26,7 +26,7 @@ import (
)
func TestEndOfMailTrimmer(t *testing.T) {
var tests = []struct {
tests := []struct {
in string
out string
}{