Skip to content

Commit

Permalink
Explicitly accepting go fmt of vendored decode_test.go
Browse files Browse the repository at this point in the history
- this file was recently updated in a bug fix on parsing float values.
  as a result what _was_ a string is now a float literal (see #483)
- `go fmt` uses lowercase 'e' for the exponent notation
- various tooling applies `go fmt` to our code while building and releasing.
- we've updated our build and test scripts to skip this package (see
  prior commits).
- Go Releaser is also `go fmt`'ing our files just prior to release.

Signed-off-by: John Ryan <[email protected]>
  • Loading branch information
cari-lynn authored and jtigger committed Oct 7, 2021
1 parent eda8457 commit 4cb1eb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/yamlmeta/internal/yaml.v2/decode_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -700,7 +700,7 @@ var unmarshalTests = []struct {
M{"a": 123456e1},
}, {
"a: 123456E1\n",
M{"a": 123456E1},
M{"a": 123456e1},
},
// yaml-test-suite 3GZX: Spec Example 7.1. Alias Nodes
{
Expand Down

0 comments on commit 4cb1eb8

Please sign in to comment.