Browse Source

fewer inputs required in TestRead

master
Alexander Avery 3 weeks ago
parent
commit
81e24185f0
  1. 6
      odl_test.go

6
odl_test.go

@ -34,9 +34,8 @@ func TestDownload(t *testing.T) {
func TestRead(t *testing.T) { func TestRead(t *testing.T) {
input := `boston input := `boston
http://localhost/someboston http://localhost/someboston.jpg
http://localhost/anotherboston.mp4 http://localhost/anotherboston.mp4
http://localhost/finalboston.jpg
orlando orlando
http://localhost/someorlando.jpg http://localhost/someorlando.jpg
@ -50,9 +49,8 @@ http://localhost/someorlando.jpg
err := fstest.TestFS( err := fstest.TestFS(
os.DirFS(dir), os.DirFS(dir),
"boston0", "boston0.jpg",
"boston1.mp4", "boston1.mp4",
"boston2.jpg",
"orlando0.jpg", "orlando0.jpg",
) )

Loading…
Cancel
Save