From 7692b624c8b45e4e92b5bc2b5d990ec4a5a04241 Mon Sep 17 00:00:00 2001 From: Zero King Date: Sun, 3 Oct 2021 15:58:12 +0000 Subject: [PATCH] Fix typo in test_sameTimeNextMonth --- test/test_TjTime.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_TjTime.rb b/test/test_TjTime.rb index 9b3378bf..52f88ba8 100644 --- a/test/test_TjTime.rb +++ b/test/test_TjTime.rb @@ -80,7 +80,7 @@ def test_sameTimeNextMonth t2 = t2.sameTimeNextMonth t2_a = t2.to_a assert_equal(t1_a[0, 3], t2_a[0, 3]) - assert(t2_a[3] == t2_a[3] || + assert(t2_a[3] == old_t2_a[3] || t2_a[3] > 28, "old_t2: #{old_t2_a.join(', ')}\nt2: #{t2_a.join(', ')}") assert(t2_a[4] == old_t2_a[4] + 1 ||