Skip to content

Commit 743df59

Browse files
committed
Fix encode benchmark
1 parent 60801d0 commit 743df59

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bench_test.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@ func BenchmarkEncode(b *testing.B) {
6666
}
6767

6868
// "next" version of TOML.
69-
if path == "valid/string/escape-esc.toml" {
69+
switch path {
70+
case "valid/string/escape-esc.toml", "valid/datetime/no-seconds.toml",
71+
"valid/string/hex-escape.toml", "valid/inline-table/newline.toml",
72+
"valid/key/unicode.toml":
7073
return nil
7174
}
7275

0 commit comments

Comments
 (0)