Skip to content

Commit

Permalink
try @test instead of @test_approx_eq
Browse files Browse the repository at this point in the history
  • Loading branch information
artkuo committed Oct 31, 2015
1 parent 41a9440 commit e9599bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/ranges.jl
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ end
# matrix multiplication between matrix and range, e.g. A*r
@test [1 2 3;]*(1:3) == [14]
# and a matrix solve A\r
@test_approx_eq [1 2 3; 4 5 6; 7 8 9]\linspace(1,3,3) [-1/3, 2/3, 0]
@test [1 2 3; 4 5 6; 7 8 9]\linspace(1,3,3) [-1/3, 2/3, 0]

# tricky floating-point ranges

Expand Down

0 comments on commit e9599bd

Please sign in to comment.