OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The LUCI 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 under the Apache License, Version 2.0 |
3 // found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
4 | 4 |
5 package memory | 5 package memory |
6 | 6 |
7 import ( | 7 import ( |
8 "testing" | 8 "testing" |
9 | 9 |
10 . "github.com/smartystreets/goconvey/convey" | 10 . "github.com/smartystreets/goconvey/convey" |
11 ) | 11 ) |
12 | 12 |
13 type keyLeftRight struct{ key, left, right []byte } | 13 type keyLeftRight struct{ key, left, right []byte } |
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 So(key, ShouldResemble, e.key) | 121 So(key, ShouldResemble, e.key) |
122 So(left, ShouldResemble, e.left) | 122 So(left, ShouldResemble, e.left) |
123 So(right, ShouldResemble, e.right) | 123 So(right, ShouldResemble, e.right) |
124 i++ | 124 i++ |
125 }) | 125 }) |
126 So(i, ShouldEqual, len(tc.expect)) | 126 So(i, ShouldEqual, len(tc.expect)) |
127 }) | 127 }) |
128 } | 128 } |
129 }) | 129 }) |
130 } | 130 } |
OLD | NEW |