From 9d2537ee7067404fc3ad0e87638cb340c776e5b7 Mon Sep 17 00:00:00 2001 From: Ricardo Rocha Date: Thu, 9 Oct 2014 09:07:31 +1300 Subject: [PATCH] fixed broken feed test path, dropped airfield test. --- common/airfield_test.go | 29 ----------------------------- welt2000/welt2000_test.go | 2 +- 2 files changed, 1 insertion(+), 30 deletions(-) delete mode 100644 common/airfield_test.go diff --git a/common/airfield_test.go b/common/airfield_test.go deleted file mode 100644 index efd909f..0000000 --- a/common/airfield_test.go +++ /dev/null @@ -1,29 +0,0 @@ -// Copyright 2014 The ezgliding Authors. -// -// This file is part of ezgliding. -// -// ezgliding is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// ezgliding is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with ezgliding. If not, see . -// -// Author: Ricardo Rocha - -package common - -import "testing" - -func TestAirfield(t *testing.T) { - a := Airfield{Name: "AirfieldName"} - if a.Name != "AirfieldName" { - t.Errorf("Wrong name :: %v instead of AirfieldName", a.Name) - } -} diff --git a/welt2000/welt2000_test.go b/welt2000/welt2000_test.go index 3a15722..b4bf4e2 100644 --- a/welt2000/welt2000_test.go +++ b/welt2000/welt2000_test.go @@ -69,7 +69,7 @@ func TestListMissing(t *testing.T) { } func TestListBrokenFeed(t *testing.T) { - _, err := List("./test-brokenfeed.xml") + _, err := List("./test-releases-broken.xml") if err == nil { t.Errorf("Parsing a broken rss feed should have failed") }