From 644196492e34ffeac39b60fc0a4f62bd4807c12a Mon Sep 17 00:00:00 2001 From: z1lk Date: Sat, 7 Jun 2025 18:27:38 -0500 Subject: [PATCH] Give `Time.new` the zone the test expects The test asserts a zero offset, but `Time.new` defaults to the local timezone, which may be different. --- quickdraw/sgml/attributes.test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickdraw/sgml/attributes.test.rb b/quickdraw/sgml/attributes.test.rb index 1a164f5c..06fc2dda 100644 --- a/quickdraw/sgml/attributes.test.rb +++ b/quickdraw/sgml/attributes.test.rb @@ -182,7 +182,7 @@ end test "_, Time" do - output = phlex { div(attribute: Time.new(2023, 1, 15, 12, 30, 45)) } + output = phlex { div(attribute: Time.new(2023, 1, 15, 12, 30, 45, "+00:00")) } assert_equal_html output, %(
) end