Skip to content

Commit

Permalink
write test config as readable
Browse files Browse the repository at this point in the history
  • Loading branch information
garmr-ulfr committed Dec 3, 2024
1 parent 78e5d3e commit a4c3722
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integrationtest/integrationtest.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import (
hproxy "github.com/getlantern/http-proxy-lantern/v2"
"github.com/getlantern/tlsdefaults"
"github.com/getlantern/waitforserver"
"google.golang.org/protobuf/encoding/protojson"
"google.golang.org/protobuf/proto"

"github.com/getlantern/flashlight/v7/apipb"
Expand Down Expand Up @@ -395,7 +396,7 @@ func (helper *Helper) writeUserConfigFile() error {
return err
}

out, err := proto.Marshal(cfg)
out, err := protojson.Marshal(cfg)
if err != nil {
return err
}
Expand Down

0 comments on commit a4c3722

Please sign in to comment.