Skip to content

Commit 962e5d5

Browse files
committed
make date strings more distinguishable
1 parent 9d91996 commit 962e5d5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/spec/discussions_tree_spec.lua

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ describe("gitlab/actions/discussions/tree.lua", function()
179179
author = author,
180180
body = "Test just unlinked note",
181181
commit_id = "",
182-
created_at = "2023-11-20T20:15:49.648Z",
182+
created_at = "2021-05-20T10:10:00.648Z",
183183
expires_at = vim.NIL,
184184
file_name = "",
185185
id = 165260,
@@ -207,7 +207,7 @@ describe("gitlab/actions/discussions/tree.lua", function()
207207
author = author,
208208
body = "Other unlinked note",
209209
commit_id = "",
210-
created_at = "2023-11-16T20:15:49.648Z",
210+
created_at = "2022-10-25T12:20:30.648Z",
211211
expires_at = vim.NIL,
212212
file_name = "",
213213
id = 165260,
@@ -659,8 +659,8 @@ describe("gitlab/actions/discussions/tree.lua", function()
659659
},
660660
},
661661
})
662-
assert.spy(spy_time_since).was.called_with("2023-11-20T20:15:49.648Z")
663-
assert.spy(spy_time_since).was.called_with("2023-11-16T20:15:49.648Z")
662+
assert.spy(spy_time_since).was.called_with("2021-05-20T10:10:00.648Z")
663+
assert.spy(spy_time_since).was.called_with("2022-10-25T12:20:30.648Z")
664664
assert.spy(spy_time_since).was.called_with("2023-11-18T20:15:49.648Z")
665665
end)
666666

0 commit comments

Comments
 (0)