Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
AsterDY committed Dec 28, 2023
1 parent 682ba8c commit 043226f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ast/node_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1205,10 +1205,10 @@ func TestNodeGetByPath(t *testing.T) {

func TestNodeSet(t *testing.T) {
arr := NewRaw(`[]`)
ex, ee := arr.Set("a", NewNumber("-1"))
if ex || ee == nil {
ex, ee := arr.Set("a", NewNumber("-1"))
if ex || ee == nil {
t.Fatal()
}
}
empty := Node{}
err := empty.Add(Node{})
if err != nil {
Expand Down

0 comments on commit 043226f

Please sign in to comment.