| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 cipd | 5 package local |
| 6 | 6 |
| 7 import ( | 7 import ( |
| 8 "io/ioutil" | 8 "io/ioutil" |
| 9 "os" | 9 "os" |
| 10 "path/filepath" | 10 "path/filepath" |
| 11 "testing" | 11 "testing" |
| 12 | 12 |
| 13 . "github.com/smartystreets/goconvey/convey" | 13 . "github.com/smartystreets/goconvey/convey" |
| 14 ) | 14 ) |
| 15 | 15 |
| (...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 465 So(dest.Begin(), ShouldBeNil) | 465 So(dest.Begin(), ShouldBeNil) |
| 466 w, err := dest.CreateFile("a", false) | 466 w, err := dest.CreateFile("a", false) |
| 467 So(w, ShouldNotBeNil) | 467 So(w, ShouldNotBeNil) |
| 468 So(err, ShouldBeNil) | 468 So(err, ShouldBeNil) |
| 469 So(dest.End(true), ShouldNotBeNil) | 469 So(dest.End(true), ShouldNotBeNil) |
| 470 w.Close() | 470 w.Close() |
| 471 So(dest.End(true), ShouldBeNil) | 471 So(dest.End(true), ShouldBeNil) |
| 472 }) | 472 }) |
| 473 }) | 473 }) |
| 474 } | 474 } |
| OLD | NEW |