File: fix-toml-test.patch

package info (click to toggle)
golang-github-knadh-koanf 2.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 808 kB
  • sloc: sh: 31; makefile: 14
file content (17 lines) | stat: -rw-r--r-- 505 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
From: Maytham Alsudany <maytha8thedev@gmail.com>
Forwarded: no
Description: fix toml test
 The test was written with go-toml 1.7.0 in mind, but go-toml has changed it's
 behaviour since then.

--- a/parsers/toml/toml_test.go
+++ b/parsers/toml/toml_test.go
@@ -110,7 +110,7 @@
 				"object":  map[string]interface{}{"a": "b", "c": "d"},
 				"string":  "Hello World",
 			},
-			output: []byte(`array = [1,2,3,4,5]
+			output: []byte(`array = [1, 2, 3, 4, 5]
 boolean = true
 color = "gold"
 number = 123