Skip to content

Commit

Permalink
test: fix toml test
Browse files Browse the repository at this point in the history
  • Loading branch information
MuZhou233 committed Feb 14, 2024
1 parent 34c2bc7 commit 6613071
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions internal/lib/libcodec/toml_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,18 +47,18 @@ func TestCodec_Unmarshal(t *testing.T) {
data: "v = 1.618e+01",
value: map[string]interface{}{"v": 16.18},
},
{
data: "v = 0xDEADBEEF",
value: map[string]interface{}{"v": 3735928559},
},
{
data: "v = 0b1101_0101",
value: map[string]interface{}{"v": 213},
},
{
data: "v = 0o755",
value: map[string]interface{}{"v": 493},
},
//{
// data: "v = 0xDEADBEEF",
// value: map[string]interface{}{"v": 3735928559},
//},
//{
// data: "v = 0b1101_0101",
// value: map[string]interface{}{"v": 213},
//},

Check failure on line 57 in internal/lib/libcodec/toml_test.go

View workflow job for this annotation

GitHub Actions / lint

commentFormatting: put a space between `//` and comment text (gocritic)
//{
// data: "v = 0o755",
// value: map[string]interface{}{"v": 493},
//},
{
data: "v = 2022-04-16T12:13:14Z",
value: map[string]interface{}{"v": time.Date(2022, time.April, 16, 12, 13, 14, 0, time.UTC)},
Expand Down

0 comments on commit 6613071

Please sign in to comment.