diff --git a/internal/data/data_test.go b/internal/data/data_test.go index f483017..49664b5 100644 --- a/internal/data/data_test.go +++ b/internal/data/data_test.go @@ -26,12 +26,12 @@ func TestFetchFromURI(t *testing.T) { } func TestFetchFromFile(t *testing.T) { - data, err := FetchFromFile("../testdata/spritesheet.json", 10) + data, err := FetchFromFile("../../testdata/sample1.yml.tbd", 10) if err != nil { t.Error(err) } - want := `{ "fram` + want := `---apiVer` if got := flatten(string(data)); got != want { t.Errorf("got [%v] want [%v]", got, want) }