Skip to content

Commit

Permalink
Fixed bugs so tests run.
Browse files Browse the repository at this point in the history
  • Loading branch information
logankilpatrick committed Jan 23, 2020
1 parent 155c141 commit b5747e5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/featuredquestions.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ function getfeaturedquestions(page::Int = 1, pagesize::Int = 1, fromdate::String
end
# println(key)
end
question = StackOverflow.Questions(link, view_count, creation_date, is_answered, owner,
question = StackOverflow.Question(link, view_count, creation_date, is_answered, owner,
last_activity_date, score, accepted_answer_id, question_id, tags, title,
answer_count)

push!(questionholder, question)
end

end
end
end
return questionholder
end
4 changes: 2 additions & 2 deletions src/noanswers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ function getnoanswerquestions(page::Int = 1, pagesize::Int = 1, fromdate::String
end
# println(key)
end
question = StackOverflow.Questions(link, view_count, creation_date, is_answered, owner,
question = StackOverflow.Question(link, view_count, creation_date, is_answered, owner,
last_activity_date, score, accepted_answer_id, question_id, tags, title,
answer_count)

push!(questionholder, question)
end

end
end
end
return questionholder
end
4 changes: 2 additions & 2 deletions src/unanswered.jl
Original file line number Diff line number Diff line change
Expand Up @@ -70,14 +70,14 @@ function getopenquestions(page::Int = 1, pagesize::Int = 1, fromdate::String = "
end
# println(key)
end
question = StackOverflow.Questions(link, view_count, creation_date, is_answered, owner,
question = StackOverflow.Question(link, view_count, creation_date, is_answered, owner,
last_activity_date, score, accepted_answer_id, question_id, tags, title,
answer_count)

push!(questionholder, question)
end

end
end
end
return questionholder
end
2 changes: 1 addition & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ siteinfoholder = getsiteinfo()

@test_nowarn searchtag("julia")

@test_nowarn StackOverflow.searcherror()
@test_nowarn StackOverflow.searcherror("404")

aHolder = getanswers()
@test typeof(aHolder[1].question_id) == Int
Expand Down

4 comments on commit b5747e5

@logankilpatrick
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Version 0.1.1 already exists

@logankilpatrick
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Error while trying to register: Version 0.1.1 already exists

Please sign in to comment.