Skip to content

Commit 4268092

Browse files
committed
remove minutes from utc tests since it can differ by chance
1 parent c77feb5 commit 4268092

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dsc/tests/dsc_functions.tests.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -248,10 +248,10 @@ Describe 'tests for function expressions' {
248248
It 'utcNow function works for: utcNow(<format>)' -TestCases @(
249249
@{ format = $null}
250250
@{ format = "yyyy-MM-dd"}
251-
@{ format = "yyyy-MM-ddTHH:mm:ss"}
252-
@{ format = "yyyy-MM-ddTHH:mm:ss.fffZ"}
253-
@{ format = "MMM dd, yyyy HH:mm"}
254-
@{ format = "yy-MMMM-dddd H:m tt" }
251+
@{ format = "yyyy-MM-ddTHH"}
252+
@{ format = "yyyy-MM-ddTHHZ"}
253+
@{ format = "MMM dd, yyyy HH"}
254+
@{ format = "yy-MMMM-dddd tt H" }
255255
@{ format = "MMM ddd zzz" }
256256
) {
257257
param($format)

0 commit comments

Comments
 (0)