| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 package butlerproto | 5 package butlerproto |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "bytes" | 8 "bytes" |
| 9 "io" | 9 "io" |
| 10 "strings" | 10 "strings" |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 r, err := read(&buf) | 202 r, err := read(&buf) |
| 203 So(err, ShouldBeNil) | 203 So(err, ShouldBeNil) |
| 204 So(r.Metadata.Compression, ShouldEqual,
protocol.ButlerMetadata_ZLIB) | 204 So(r.Metadata.Compression, ShouldEqual,
protocol.ButlerMetadata_ZLIB) |
| 205 So(r.Bundle.Source, ShouldEqual, bundle.
Source) | 205 So(r.Bundle.Source, ShouldEqual, bundle.
Source) |
| 206 }) | 206 }) |
| 207 }) | 207 }) |
| 208 }) | 208 }) |
| 209 }) | 209 }) |
| 210 } | 210 } |
| OLD | NEW |