-
Notifications
You must be signed in to change notification settings - Fork 281
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* testing bare git repo error using git-testtools script #700 * after running cargo fmt * refactoring new to call init for testing of bare repo detection * brute force testing of format function * idea for testing formatted output using git-testtools arguments * fix formatting * adding pretty assert and concept of match anything in expected string * fixing windows expected output failures * fixing formatting, eventually I will use a hook * removing color based checking, simple regex now * Update src/info/mod.rs Co-authored-by: Spenser Black <[email protected]> * Update src/info/mod.rs Co-authored-by: Spenser Black <[email protected]> * updates to use external file w/ regex in it * trying standard path separator to see if windows ci passes * updates to regex that make it easier to read * test coverage of serializer using json * fix formatting * better assert logic for bare repo and pretty assert to debug CI failure in json * fixing git version in json serializarion * obtains 100% code coverage by manipulating git repo and files parsed * more code coverage, trying to get those last few lines * making use of snapshot name in testing * changing verification to string based test * switching to using inst snapshots * adding snap file needed for previous commit * refactor default into Config object to allow Default construction * better naming on function * removing snap file from ignore * using object serialization in test Co-authored-by: Spenser Black <[email protected]>
- Loading branch information
1 parent
5d552fb
commit a1f1987
Showing
9 changed files
with
426 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
/target | ||
**/*.rs.bk | ||
/stage | ||
*.snap | ||
/parts | ||
/prime | ||
.gitignore.swp | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.