Skip to content

Commit

Permalink
Fix documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
ctessum committed Jul 23, 2022
1 parent f0a08af commit 5cc0427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Grader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ answer_code = fill_answers(code, Dict(
p = Problem()
answer = runstudent!(p, answer_code)
answer = @runstudent! p answer_code
grade!(p, "area", "calculate area", 1, :($answer.a ≈ 4π), "area is incorrect")
grade!(p, "perimeter", "calculate perimeter", 1, :($answer.p ≈ 4π), "perimeter is incorrect")
Expand Down

0 comments on commit 5cc0427

Please sign in to comment.