| OLD | NEW |
| 1 // Copyright 2016 The LUCI Authors. All rights reserved. | 1 // Copyright 2016 The LUCI Authors. All rights reserved. |
| 2 // Use of this source code is governed under the Apache License, Version 2.0 | 2 // Use of this source code is governed under the Apache License, Version 2.0 |
| 3 // that can be found in the LICENSE file. | 3 // that can be found in the LICENSE file. |
| 4 | 4 |
| 5 package buildbucket | 5 package buildbucket |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "encoding/json" | 8 "encoding/json" |
| 9 "flag" | 9 "flag" |
| 10 "fmt" | 10 "fmt" |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 So(string(actualJSON), ShouldEqual, stri
ng(expectedJSON)) | 67 So(string(actualJSON), ShouldEqual, stri
ng(expectedJSON)) |
| 68 } | 68 } |
| 69 }) | 69 }) |
| 70 } | 70 } |
| 71 }) | 71 }) |
| 72 } | 72 } |
| 73 | 73 |
| 74 var bktConfig = ` | 74 var bktConfig = ` |
| 75 buildbucket: { | 75 buildbucket: { |
| 76 host: "debug" | 76 host: "debug" |
| 77 project: "debug" |
| 77 } | 78 } |
| 78 ` | 79 ` |
| 79 | 80 |
| 80 var bktConfigFull = map[string]memcfg.ConfigSet{ | 81 var bktConfigFull = map[string]memcfg.ConfigSet{ |
| 81 "services/luci-milo-dev": { | 82 "services/luci-milo-dev": { |
| 82 "settings.cfg": bktConfig, | 83 "settings.cfg": bktConfig, |
| 83 }, | 84 }, |
| 84 } | 85 } |
| OLD | NEW |