-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix error thrown when inserting keys (#80)
* Check for key order only when one key is present * Update tests to match latest fix > Add tests for key order * Add golden tests for fix * Skip random test until issue #85 is fixed * Update changelog
- Loading branch information
Showing
10 changed files
with
109 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
IGNORES KEY ORDER | ||
--- | ||
Z: 1 | ||
D: 2 | ||
F: 3 | ||
--- | ||
- [update, ['A'], 4] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
RESPECTS THE KEY ORDER | ||
--- | ||
A: first | ||
C: third | ||
--- | ||
- [update, [B], second] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
test: test | ||
--- | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
test: test | ||
--- | ||
?foo: safe question mark | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
test: test | ||
--- | ||
:foo: safe colon | ||
?foo: safe question mark | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
test: test | ||
--- | ||
-foo: safe dash | ||
:foo: safe colon | ||
?foo: safe question mark | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
test: test | ||
?foo: safe question mark | ||
--- | ||
-foo: safe dash | ||
:foo: safe colon | ||
test: test | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
?foo: safe question mark | ||
:foo: safe colon | ||
--- | ||
test: test | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
?foo: safe question mark | ||
:foo: safe colon | ||
-foo: safe dash | ||
--- | ||
test: test | ||
"a!\"#$%&'()*+,-.\/09:;<=>?@AZ[\\]^_`az{|}~": safe | ||
?foo: safe question mark | ||
:foo: safe colon | ||
-foo: safe dash | ||
this is#not: a comment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Z: 1 | ||
D: 2 | ||
F: 3 | ||
--- | ||
Z: 1 | ||
D: 2 | ||
F: 3 | ||
A: 4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
A: first | ||
C: third | ||
--- | ||
A: first | ||
B: second | ||
C: third |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters