Skip to content

Commit

Permalink
robot-simulator: Remove type parameter from tests (JuliaLang#474)
Browse files Browse the repository at this point in the history
As pointed out by PoliticalSatyr in their mentoring request, this isn't really needed.
  • Loading branch information
SaschaMann committed Nov 30, 2021
1 parent c0da132 commit 866d2f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion exercises/practice/robot-simulator/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ include("robot-simulator.jl")
@test heading(r) == NORTH

r = Robot((-1, -1), SOUTH)
@test position(r) == Point{Int}(-1, -1)
@test position(r) == Point(-1, -1)
@test heading(r) == SOUTH
end

Expand Down

0 comments on commit 866d2f9

Please sign in to comment.