Skip to content

Commit 6116d85

Browse files
committed
Don't expect a timestamp on local dev build.
1 parent fd337ec commit 6116d85

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

test/Test-Versioning.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Set-StrictMode -Version 3.0
2121
function Main {
2222
SetUp
2323

24-
Test SingleTarget "1T Default " <#none> <#none#> -Expect '^1\.2\.3-local\.\d{8}\.T\d{6}Z$'
24+
Test SingleTarget "1T Default " <#none> <#none#> -Expect '^1\.2\.3-local$'
2525
Test SingleTarget "1T Branch " -Branch refs/heads/foo <#none#> -Expect '^1\.2\.3-foo\.\d{8}\.T\d{6}Z$'
2626
Test SingleTarget "1T Branch " -Branch refs/heads/foo <#none#> -Expect '^1\.2\.3-foo\.\d{8}\.T\d{6}Z$'
2727
Test SingleTarget "1T Branch + Counter " -Branch refs/heads/foo -Counter 42 -Expect '^1\.2\.3-foo\.b\.42$'
@@ -35,7 +35,7 @@ function Main {
3535
Test SingleTarget "1T Invalid + Counter " -Branch ?foo?bar? -Counter 42 -Expect '^1\.2\.3--foo-bar-\.b\.42$'
3636
Test SingleTarget "1T Explicit Suffix " -Branch refs/heads/foo -Suffix bar -Counter 42 -Expect '^1\.2\.3-bar$'
3737

38-
Test MultiTarget "MT Default " <#none> <#none#> -Expect '^1\.2\.3-local\.\d{8}\.T\d{6}Z$'
38+
Test MultiTarget "MT Default " <#none> <#none#> -Expect '^1\.2\.3-local$'
3939
Test MultiTarget "MT Branch " -Branch refs/heads/foo <#none#> -Expect '^1\.2\.3-foo\.\d{8}\.T\d{6}Z$'
4040
Test MultiTarget "MT Branch " -Branch refs/heads/foo <#none#> -Expect '^1\.2\.3-foo\.\d{8}\.T\d{6}Z$'
4141
Test MultiTarget "MT Branch + Counter " -Branch refs/heads/foo -Counter 42 -Expect '^1\.2\.3-foo\.b\.42$'

0 commit comments

Comments
 (0)