Skip to content

Commit f1d7e96

Browse files
committed
delete redundant typeconversion.
1 parent dd52a03 commit f1d7e96

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tv/tv_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestLoadingDocument(t *testing.T) {
1515
if idr.Idoc.doc == nil {
1616
t.Error("Expected Idoc not to be nil", idr.Idoc)
1717
}
18-
url = TestHTMLURL("testhtml/films1.html")
18+
url = "testhtml/films1.html"
1919
go url.loadDocument(c)
2020
idr = <-c
2121
if idr.Error != nil {
@@ -24,7 +24,7 @@ func TestLoadingDocument(t *testing.T) {
2424
if idr.Idoc.doc == nil {
2525
t.Error("Expected Idoc not to be nil: ", idr.Idoc)
2626
}
27-
url = TestHTMLURL("testhtml/nosuchfile.html")
27+
url = "testhtml/nosuchfile.html"
2828
go url.loadDocument(c)
2929
idr = <-c
3030
if idr.Error == nil {

0 commit comments

Comments
 (0)