mirror of
https://github.com/spf13/viper
synced 2025-05-11 22:57:21 +00:00
Lint typo fix
This commit is contained in:
parent
e0e708a4cd
commit
f7fb7db43e
1 changed files with 2 additions and 2 deletions
|
@ -1326,7 +1326,7 @@ var hclWriteExpected = []byte(`"foos" = {
|
||||||
|
|
||||||
"type" = "donut"`)
|
"type" = "donut"`)
|
||||||
|
|
||||||
var hclWriteExpectedFromJsonExample = []byte(`"batters" = {
|
var hclWriteExpectedFromJSONExample = []byte(`"batters" = {
|
||||||
"batter" = {
|
"batter" = {
|
||||||
"type" = "Regular"
|
"type" = "Regular"
|
||||||
}
|
}
|
||||||
|
@ -1499,7 +1499,7 @@ func TestWriteConfig(t *testing.T) {
|
||||||
outConfigType: "hcl",
|
outConfigType: "hcl",
|
||||||
fileName: "c.json",
|
fileName: "c.json",
|
||||||
input: jsonExample,
|
input: jsonExample,
|
||||||
expectedContent: hclWriteExpectedFromJsonExample,
|
expectedContent: hclWriteExpectedFromJSONExample,
|
||||||
},
|
},
|
||||||
"properties with file extension": {
|
"properties with file extension": {
|
||||||
configName: "c",
|
configName: "c",
|
||||||
|
|
Loading…
Add table
Reference in a new issue