Skip to content

Commit

Permalink
Fix encode benchmark
Browse files Browse the repository at this point in the history
  • Loading branch information
arp242 committed Jun 6, 2023
1 parent 60801d0 commit 743df59
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ func BenchmarkEncode(b *testing.B) {
}

// "next" version of TOML.
if path == "valid/string/escape-esc.toml" {
switch path {
case "valid/string/escape-esc.toml", "valid/datetime/no-seconds.toml",
"valid/string/hex-escape.toml", "valid/inline-table/newline.toml",
"valid/key/unicode.toml":
return nil
}

Expand Down

0 comments on commit 743df59

Please sign in to comment.