Skip to content

Commit

Permalink
fixup! Enable Random specs on win32
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Jan 13, 2020
1 parent 7f75574 commit 744b345
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/std/random_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -147,10 +147,10 @@ describe "Random" do
end

pending_win32 "BigInt range" do
expect_raises ArgumentError, "Invalid range for rand: 1.to_big_i...1.to_big_i" do
expect_raises ArgumentError, "Invalid range for rand: #{1.to_big_i...1.to_big_i}" do
rand(1.to_big_i...1.to_big_i)
end
expect_raises ArgumentError, "Invalid range for rand: 1.to_big_i..0.to_big_i" do
expect_raises ArgumentError, "Invalid range for rand: #{1.to_big_i..0.to_big_i}" do
rand(1.to_big_i..0.to_big_i)
end
end
Expand Down

0 comments on commit 744b345

Please sign in to comment.