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 featureBreaker | 5 package featureBreaker |
6 | 6 |
7 import ( | 7 import ( |
8 "errors" | 8 "errors" |
9 "testing" | 9 "testing" |
10 | 10 |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 Convey("with a default", func() { | 53 Convey("with a default", func() { |
54 c, bf := FilterRDS(c, e) | 54 c, bf := FilterRDS(c, e) |
55 rds := rawdatastore.Get(c) | 55 rds := rawdatastore.Get(c) |
56 bf.BreakFeatures(nil, "Get") | 56 bf.BreakFeatures(nil, "Get") |
57 So(rds.Get(nil, nil), ShouldEqual, e) | 57 So(rds.Get(nil, nil), ShouldEqual, e) |
58 }) | 58 }) |
59 }) | 59 }) |
60 }) | 60 }) |
61 } | 61 } |
OLD | NEW |