Skip to content

Commit ee2d5aa

Browse files
test: fix UTC Z date assertion case
1 parent 71f9657 commit ee2d5aa

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/unit/assert_dates_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ function test_successful_assert_date_equals_epoch_vs_space_separated() {
155155
# UTC Z suffix test
156156

157157
function test_successful_assert_date_equals_with_utc_z_suffix() {
158-
assert_empty "$(assert_date_equals "2023-11-14T12:00:00Z" "2023-11-14T12:00:00Z")"
158+
assert_empty "$(assert_date_equals "2023-11-14T14:00:00+0200" "2023-11-14T12:00:00Z")"
159159
}
160160

161161
# Timezone offset tests

0 commit comments

Comments
 (0)