From 1827fd846e4deecb34a40df3110bfd10e1995a4c Mon Sep 17 00:00:00 2001 From: "William (B.J.) Snow Orvis" Date: Mon, 27 May 2024 21:53:18 -0700 Subject: [PATCH] Try to fix test that often fails in JRuby --- spec/recursive_open_struct/ostruct_2_0_0_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/recursive_open_struct/ostruct_2_0_0_spec.rb b/spec/recursive_open_struct/ostruct_2_0_0_spec.rb index f3472d6..ae038bc 100644 --- a/spec/recursive_open_struct/ostruct_2_0_0_spec.rb +++ b/spec/recursive_open_struct/ostruct_2_0_0_spec.rb @@ -89,7 +89,7 @@ context "hash" do it "calculates table hash" do - expect(ros.hash).to be ros.instance_variable_get('@table').hash + expect(ros.hash).to eq(ros.instance_variable_get('@table').hash) end end