@@ -68,13 +68,13 @@ public void ShouldOutputFormatWithEnvironmentVariablesTests(string format, strin
6868 output . ShouldBeEquivalentTo ( expectedValue ) ;
6969 }
7070
71- [ TestCase ( "Major" , "1 " ) ]
72- [ TestCase ( "MajorMinorPatch" , "1.1.0" ) ]
73- [ TestCase ( "SemVer" , "1.1.0-foo.1" ) ]
74- [ TestCase ( "PreReleaseTagWithDash" , "-foo.1" ) ]
75- [ TestCase ( "AssemblySemFileVer" , "1.1.0.0" ) ]
76- [ TestCase ( "BranchName" , "feature/foo" ) ]
77- [ TestCase ( "FullSemVer" , "1.1.0-foo.1+1" ) ]
71+ [ TestCase ( "Major" , "'1' " ) ]
72+ [ TestCase ( "MajorMinorPatch" , "' 1.1.0' " ) ]
73+ [ TestCase ( "SemVer" , "' 1.1.0-foo.1' " ) ]
74+ [ TestCase ( "PreReleaseTagWithDash" , "' -foo.1' " ) ]
75+ [ TestCase ( "AssemblySemFileVer" , "' 1.1.0.0' " ) ]
76+ [ TestCase ( "BranchName" , "' feature/foo' " ) ]
77+ [ TestCase ( "FullSemVer" , "' 1.1.0-foo.1+1' " ) ]
7878 public void ShouldOutputDotEnvEntries ( string variableName , string expectedValue )
7979 {
8080 var fixture = CreateTestRepository ( ) ;
@@ -127,13 +127,13 @@ public void ShouldOutputAllCalculatedVariablesAsDotEnvEntries()
127127 Assert . That ( totalOutputLines , Is . EqualTo ( versionVariables . Count ( ) ) ) ;
128128 }
129129
130- [ TestCase ( "Major" , "0 " ) ]
131- [ TestCase ( "MajorMinorPatch" , "0.0.1" ) ]
132- [ TestCase ( "SemVer" , "0.0.1-1" ) ]
130+ [ TestCase ( "Major" , "'0' " ) ]
131+ [ TestCase ( "MajorMinorPatch" , "' 0.0.1' " ) ]
132+ [ TestCase ( "SemVer" , "' 0.0.1-1' " ) ]
133133 [ TestCase ( "BuildMetaData" , "''" ) ]
134- [ TestCase ( "AssemblySemVer" , "0.0.1.0" ) ]
135- [ TestCase ( "PreReleaseTagWithDash" , "-1 " ) ]
136- [ TestCase ( "BranchName" , "main" ) ]
134+ [ TestCase ( "AssemblySemVer" , "' 0.0.1.0' " ) ]
135+ [ TestCase ( "PreReleaseTagWithDash" , "'-1' " ) ]
136+ [ TestCase ( "BranchName" , "' main' " ) ]
137137 [ TestCase ( "PreReleaseLabel" , "''" ) ]
138138 [ TestCase ( "PreReleaseLabelWithDash" , "''" ) ]
139139 public void ShouldOutputAllDotEnvEntriesEvenForMinimalRepositories ( string variableName , string expectedValue )
0 commit comments