You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: integ_test.go
    path of file: ./repos/magma/orc8r/cloud/go/services/streamer
    
    the code of the file until where you have to start completion: /*
Copyright 2020 The Magma Authors.

This source code is licens
    
func (l testListener) Update(ub *protos.DataUpdateBatch) bool {
	if len(expected) != len(ub.GetUpdates()) {
		l.updateErr <- fmt.Errorf("updates # %d != expected # %d", len(ub.GetUpdates()), len(expected))
		return false
	}
	for i, u := range ub.GetUpdates() {
		if protos.TestMarshal(expected[i]) != protos.TestMarshal(u) {
			l.updateErr <- fmt.Errorf(
				"update %s != expected %s", protos.TestMarshal(u), protos.TestMarshal(expected[i]))
			return false
		}
	}
	l.updateErr <- nil
	return true
}