Skip to content

Commit

Permalink
fix broken test on data fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasepe committed May 21, 2021
1 parent 44cf0b7 commit 320f3a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/data/data_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 320f3a5

Please sign in to comment.