Skip to content

Commit

Permalink
add TestFromJSON (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
2hmad authored Apr 15, 2023
1 parent 2d73a22 commit eddd8be
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions utils/json_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,10 @@ func TestToJSON(t *testing.T) {

fmt.Println(res)
}

func TestFromJSON(t *testing.T) {
t.Parallel()
res := FromJSON([]byte(`"MY/NAME/IS/:PARAM/*"`), "")

fmt.Println(res)
}

0 comments on commit eddd8be

Please sign in to comment.