bosnet / sebak

SEBAK, the next BOScoin Blockchain
https://devteam.blockchainos.org
GNU General Public License v3.0
44 stars 15 forks source link

Minor: Expected is Equal's first argument #866

Closed Geod24 closed 5 years ago

Geod24 commented 5 years ago
When the test fails, something like this is displayed for L25:
FAIL: TestMakeHashOfOperationBodyPayment (0.00s)
    require.go:157:
            Error Trace:    operation_test.go:28
            Error:          Not equal:
                            expected: 5khwjo7zt1zY1wV15neGY1TPY5YPQrJrNeJoyEKGPUa9
                            actual  : GodiXQkWvAAbobhLBnWK8QS8aArb1ZoR2Ms8JswYUvL3
As seen here, expected and actual are reversed.
codecov-io commented 5 years ago

Codecov Report

Merging #866 into master will increase coverage by 0.14%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
+ Coverage   60.42%   60.57%   +0.14%     
==========================================
  Files         152      152              
  Lines       10353    10353              
==========================================
+ Hits         6256     6271      +15     
+ Misses       3389     3375      -14     
+ Partials      708      707       -1
Flag Coverage Δ
#integration_tests_long_term 44.15% <ø> (+0.14%) :arrow_up:
#integration_tests_node 39.76% <ø> (ø) :arrow_up:
#unittests 50.13% <ø> (ø) :arrow_up:
Impacted Files Coverage Δ
lib/metrics/sync.go 94.28% <0%> (+5.71%) :arrow_up:
lib/sync/try.go 85.71% <0%> (+7.14%) :arrow_up:
lib/sync/fetcher.go 65% <0%> (+7.5%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4132965...aab612d. Read the comment docs.

codecov-io commented 5 years ago

Codecov Report

Merging #866 into master will increase coverage by 0.14%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #866      +/-   ##
==========================================
+ Coverage   60.42%   60.57%   +0.14%     
==========================================
  Files         152      152              
  Lines       10353    10353              
==========================================
+ Hits         6256     6271      +15     
+ Misses       3389     3375      -14     
+ Partials      708      707       -1
Flag Coverage Δ
#integration_tests_long_term 44.15% <ø> (+0.14%) :arrow_up:
#integration_tests_node 39.76% <ø> (ø) :arrow_up:
#unittests 50.13% <ø> (ø) :arrow_up:
Impacted Files Coverage Δ
lib/metrics/sync.go 94.28% <0%> (+5.71%) :arrow_up:
lib/sync/try.go 85.71% <0%> (+7.14%) :arrow_up:
lib/sync/fetcher.go 65% <0%> (+7.5%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 4132965...aab612d. Read the comment docs.