Skip to content

Commit

Permalink
updated test file, added cache files to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
compscidr committed Oct 26, 2024
1 parent 39ca7fb commit 9c7be89
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ go-scholar

.idea
scholar-example/scholar-example
articles.json
profiles.json
2 changes: 1 addition & 1 deletion scholar_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ func TestScholarQuerier(t *testing.T) {
}

func TestProfileQuerier(t *testing.T) {
sch := New("cache.json")
sch := New("profiles.json", "articles.json")
articles := sch.QueryProfile("SbUmSEAAAAAJ", 1)
assert.NotEmpty(t, articles)

Expand Down

0 comments on commit 9c7be89

Please sign in to comment.