-
Notifications
You must be signed in to change notification settings - Fork 654
AssemblyInfo update fixes #882
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssemblyInfo update fixes #882
Conversation
Don't merge just yet. I discovered some bugs in a few of the tests. |
…ponding tests to test F# and VB as well.
0d5c2f2
to
1353214
Compare
…ionTask and GitVersionExe
…tuff into a VerifyAssemblyInfoFile method.
There we go. Merge whenever! 😄 |
@@ -25,6 +25,6 @@ public void Json() | |||
|
|||
var variables = VariableProvider.GetVariablesFor(semanticVersion, config, false); | |||
var json = JsonOutputFormatter.ToJson(variables); | |||
json.ShouldMatchApproved(); | |||
json.ShouldMatchApproved(c => c.SubFolder("Approved")); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am actually really happy with the ShouldMatchApproved api :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JakeGinnivan It's beautiful! 😄
Sweet! |
…pdate-fixes AssemblyInfo update fixes
This PR makes the
AssemblyInfoFileUpdate
class support F# and Visual Basic as well as C# and with that fixes #858. It also adds a load of tests for F# and Visual Basic by making all of theAssemblyInfoFileUpdate
tests into[TestCase]
methods, and with that testing not just C#, but F# and VisualBasic as well.