From 744b34578a274f3d96e89439d33989b704d54593 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johannes=20M=C3=BCller?= Date: Mon, 13 Jan 2020 20:54:11 +0100 Subject: [PATCH] fixup! Enable Random specs on win32 --- spec/std/random_spec.cr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/std/random_spec.cr b/spec/std/random_spec.cr index 493f0d49dbe0..3f4f4b3b9458 100644 --- a/spec/std/random_spec.cr +++ b/spec/std/random_spec.cr @@ -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