Accept paths instead of URLs

This commit is contained in:
Matthias Loibl 2019-07-22 18:04:24 +02:00
parent 3e85357934
commit 9110b1417d
No known key found for this signature in database
GPG key ID: 78A796CA74CA38BA
4 changed files with 11 additions and 13 deletions

View file

@ -18,7 +18,6 @@ package main
import (
"io/ioutil"
"net/url"
"os"
"path/filepath"
"testing"
@ -30,7 +29,7 @@ import (
func TestInstallCommand(t *testing.T) {
testcases := []struct {
Name string
URLs []*url.URL
URLs []string
ExpectedCode int
ExpectedJsonnetFile []byte
ExpectedJsonnetLockFile []byte