Skip to content

Commit

Permalink
fix test for patch --ofmt ini
Browse files Browse the repository at this point in the history
* get rid of multiple keys in ini test files to avoid output with random keys
  order
  • Loading branch information
mr-mixas committed Mar 16, 2020
1 parent b2ea946 commit df3134a
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
5 changes: 2 additions & 3 deletions tests/cli/shared.a.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[one]
one_1 = 1
one_2 = 2
ein = 1

[two]
two_1 = 1
zwei = 2

3 changes: 1 addition & 2 deletions tests/cli/shared.b.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
[one]
one_1 = 1
one_2 = 42
ein = uno

8 changes: 4 additions & 4 deletions tests/cli/shared.ini.patch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"D": {
"one": {
"D": {
"one_2": {
"N": "42",
"O": "2"
"ein": {
"N": "uno",
"O": "1"
}
}
},
"two": {
"R": {
"two_1": "1"
"zwei": "2"
}
}
}
Expand Down
8 changes: 4 additions & 4 deletions tests/cli/test_diff_tool.test_ini_ifmt.exp
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
"D": {
"one": {
"D": {
"one_2": {
"N": "42",
"O": "2"
"ein": {
"N": "uno",
"O": "1"
}
}
},
"two": {
"R": {
"two_1": "1"
"zwei": "2"
}
}
}
Expand Down

0 comments on commit df3134a

Please sign in to comment.