<commit_before>package protobuf

import (
	"testing"

	"github.com/golang/protobuf/proto"
	"github.com/asdine/storm/codec/internal"
	"github.com/stretchr/testify/assert"
)

func TestProtobuf(t *testing.T) {
	u1 := SimpleUser{
		Id: proto.Uint64(1),
		Name: proto.String("John"),
	}
	u2 := SimpleUser{}
	internal.RoundtripTester(t, Codec, &u1, &u2)
	assert.True(t, u2.GetId() == u2.GetId())
}<commit_msg>fix test that compared same instances<commit_after>package protobuf

import (
	"testing"

	"github.com/golang/protobuf/proto"
	"github.com/asdine/storm/codec/internal"
	"github.com/stretchr/testify/assert"
)

func TestProtobuf(t *testing.T) {
	u1 := SimpleUser{
		Id: proto.Uint64(1),
		Name: proto.String("John"),
	}
	u2 := SimpleUser{}
	internal.RoundtripTester(t, Codec, &u1, &u2)
	assert.True(t, u1.GetId() == u2.GetId())
}
{'fraction_non_alphanumeric': 0.17349397590361446, 'fraction_numerical': 0.021686746987951807, 'mean_word_length': 4.852112676056338, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1186354', 'n_tokens_mistral': 352, 'n_tokens_neox': 338, 'n_words': 55}