Added rational sort order for Justifications, Verifications, and Components#334
Conversation
Codecov Report
@@ Coverage Diff @@
## master #334 +/- ##
==========================================
- Coverage 79.06% 78.89% -0.17%
==========================================
Files 38 38
Lines 1428 1436 +8
==========================================
+ Hits 1129 1133 +4
- Misses 246 250 +4
Partials 53 53
Continue to review full report at Codecov.
|
Codecov Report
@@ Coverage Diff @@
## master #334 +/- ##
==========================================
+ Coverage 79.06% 79.17% +0.11%
==========================================
Files 38 38
Lines 1428 1436 +8
==========================================
+ Hits 1129 1137 +8
Misses 246 246
Partials 53 53
Continue to review full report at Codecov.
|
ab9ddd7 to
5261a73
Compare
|
When considering the pull request, pay some attention to the edits to parse_test 8d2805e I had to make those edits to get the appveyor build to pass. The same tests passed w/o those edits on my Linux dev box and none of the other edits for this PR should have impacted the code in parse.go, so I'm not 100% sure why appveyor complained and my local 'make test' did not. |
Added sort by key for components Added tests for verifications and justifications Removed declared but unused openControl var in parse_test.go so tests pass Added TestGetAllComponent to increase code coverage
1130be9 to
c3a7f6b
Compare
|
@riskpeep sorry for late reply on this... Code looks good and tests are passing. @shawndwells can you build some opencontrol content with this PR and see if anything breaks at the content layer? |
for testing, using the following opencontrol.yaml: and attempting a fetch/get: |
|
@riskpeep @redhatrises looks like masonry has errors, but may reflect something from upstream vs this patch |
|
this is on OSX with golang 1.10.1 |
@shawndwells I am not seeing the error that you are getting. I wonder if it is an issue with golang 1.10.1? Seems to work for me. |
|
upgraded golang to 1.11.4 and this works now |
|
thanks, @riskpeep! |
Added natural sort for justifications and verifications.
Added sort by key for components
Provides rational sort order for generated gitbook documents.