Skip to content
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

test:add compatible test case #809

Merged
merged 1 commit into from
Nov 30, 2019
Merged

test:add compatible test case #809

merged 1 commit into from
Nov 30, 2019

Conversation

leizhiyuan
Copy link
Contributor

Motivation:

add compatible test case for #808

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #.

If there is no issue then describe the changes introduced by this PR.

@codecov-io
Copy link

Codecov Report

❗ No coverage uploaded for pull request base (master@3b3eb9c). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #809   +/-   ##
=========================================
  Coverage          ?   71.78%           
  Complexity        ?     1089           
=========================================
  Files             ?      376           
  Lines             ?    15405           
  Branches          ?     2466           
=========================================
  Hits              ?    11059           
  Misses            ?     3067           
  Partials          ?     1279

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 3b3eb9c...356e99f. Read the comment docs.

Copy link
Member

@zonghaishang zonghaishang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@@ -44,15 +43,15 @@ public void encode() throws Exception {
map.put("a", "");
map.put("b", null);
bs = simpleMapSerializer.encode(map);
Assert.assertEquals(37, bs.length);
Assert.assertEquals(28, bs.length);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里长度为什么会变少?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key和value为null的都不写了

@leizhiyuan leizhiyuan merged commit 7712e22 into sofastack:master Nov 30, 2019
@leizhiyuan leizhiyuan deleted the test/add_test_case branch November 30, 2019 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants