Skip to content

Commit

Permalink
Fixed hex test
Browse files Browse the repository at this point in the history
  • Loading branch information
generikvault committed Nov 4, 2020
1 parent dbbd367 commit e86347d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions go.mod
@@ -1,3 +1,5 @@
module github.com/PaesslerAG/gval

go 1.15

require github.com/PaesslerAG/jsonpath v0.1.0
2 changes: 1 addition & 1 deletion gval_parsingFailure_test.go
Expand Up @@ -153,7 +153,7 @@ func TestParsingFailure(t *testing.T) {
{
name: "Hex float (Unsupported)",
expression: "0x1.1",
wantErr: `strconv.ParseFloat: parsing "0x1": invalid syntax`,
wantErr: `strconv.ParseFloat: parsing "0x1.1": invalid syntax`,
},
{
name: "Hex invalid letter",
Expand Down

0 comments on commit e86347d

Please sign in to comment.