diff options
| author | Michael Vogt <mvo@ubuntu.com> | 2018-09-07 13:07:32 +0200 |
|---|---|---|
| committer | Michael Vogt <mvo@ubuntu.com> | 2018-09-07 13:07:32 +0200 |
| commit | 1bb9a487c9fbd7f75236b567c0be8c5c4a5b6e4a (patch) | |
| tree | af3d567e60e71c5e4401c99fa69588f997332890 | |
| parent | c2aef445a968f929be61525fc00760e5c43c4d16 (diff) | |
address review feedbackstore-tests
| -rw-r--r-- | store/export_test.go | 5 | ||||
| -rw-r--r-- | store/store_test.go | 3 |
2 files changed, 4 insertions, 4 deletions
diff --git a/store/export_test.go b/store/export_test.go index c8e6808102..0a3c570c5f 100644 --- a/store/export_test.go +++ b/store/export_test.go @@ -43,7 +43,10 @@ var ( UseDeltas = useDeltas ApplyDelta = applyDelta - GetCurrentSnap = currentSnap + // FIXME: there is a name clash, store has both "currentSnap" + // and "CurrentSnap" which do different things. + GetCurrentSnap = currentSnap + AuthLocation = authLocation AuthURL = authURL StoreURL = storeURL diff --git a/store/store_test.go b/store/store_test.go index 87fa40e15a..14eaf57f9f 100644 --- a/store/store_test.go +++ b/store/store_test.go @@ -473,9 +473,6 @@ func (s *storeTestSuite) TestDownloadRangeRequest(c *C) { func (s *storeTestSuite) TestResumeOfCompleted(c *C) { expectedContentStr := "nothing downloaded" - // FIXME: hu? - //download = nil - snap := &snap.Info{} snap.RealName = "foo" snap.AnonDownloadURL = "anon-url" |
