Skip to content

Commit

Permalink
bugfix: fix unittest run err
Browse files Browse the repository at this point in the history
  • Loading branch information
hanyuancheung committed Oct 25, 2023
1 parent b566eb8 commit 6c57c6c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/codes/code_type_mapping_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestCodeTypeMappingDescription_UnmarshalText(t *testing.T) {
{
name: "length exceeds maximum length",
args: args{
text: []byte("success|超长字符串超长字符串超长字符串超长字符串"),
text: []byte("success|Length exceeds maximum length"),
},
fields: fields{
CodeType: CodeTypeSuccess.String(),
Expand Down
2 changes: 1 addition & 1 deletion sdk/trace/fraction_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func Test_getSamplerConfig(t *testing.T) {
},
},
},
SamplerServiceAddr: "your.own.gateway.ip:port ",
SamplerServiceAddr: "your.own.gateway.ip:port",
SyncInterval: time.Millisecond,
},
},
Expand Down

0 comments on commit 6c57c6c

Please sign in to comment.