From e60a1d4edd73ea7652c67ff0de6354888339bfc5 Mon Sep 17 00:00:00 2001 From: mpl Date: Fri, 23 Jun 2017 16:52:14 +0200 Subject: [PATCH] importer/gphotos: rm broken, and now useless, test Because mediaURLsEqual was removed in c848e5ecd8c84548a36e179490eda72ccac4f38c Change-Id: I951d633103200863e43acddec825a09dcb81baf0 --- pkg/importer/gphotos/gphotos_test.go | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 pkg/importer/gphotos/gphotos_test.go diff --git a/pkg/importer/gphotos/gphotos_test.go b/pkg/importer/gphotos/gphotos_test.go deleted file mode 100644 index 355996b47..000000000 --- a/pkg/importer/gphotos/gphotos_test.go +++ /dev/null @@ -1,28 +0,0 @@ -/* -Copyright 2017 The Camlistore Authors - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -*/ - -package gphotos - -import "testing" - -func TestMediaURLsEqual(t *testing.T) { - if !mediaURLsEqual("https://lh1.googleusercontent.com/foo.jpg", "https://lh100.googleusercontent.com/foo.jpg") { - t.Fatal("want equal") - } - if mediaURLsEqual("https://foo.com/foo.jpg", "https://bar.com/foo.jpg") { - t.Fatal("want not equal") - } -}