Skip to content

Commit

Permalink
Update api/converter/converter_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
hackerwins authored Jun 3, 2024
1 parent a0a06b2 commit a2994e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/converter/converter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func TestConverter(t *testing.T) {

t.Run("properly encode and decode tree test", func(t *testing.T) {
doc := document.New(helper.TestDocKey(t))
assert.NoError(t, doc.Update(func(root *json.Object, p *presence.Presence) error {
assert.NoError(t, doc.Update(func(root *json.Object, _) error {

Check failure on line 274 in api/converter/converter_test.go

View workflow job for this annotation

GitHub Actions / build

syntax error: mixed named and unnamed parameters (typecheck)

Check failure on line 274 in api/converter/converter_test.go

View workflow job for this annotation

GitHub Actions / build

mixed named and unnamed parameters (typecheck)
root.SetNewTree("t", &json.TreeNode{
Type: "r",
Children: []json.TreeNode{
Expand Down

0 comments on commit a2994e6

Please sign in to comment.