This repository was archived by the owner on Feb 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Fix error thrown when inserting keys #80
Merged
jonasfj
merged 5 commits into
dart-archive:main
from
kekavc24:fix/invalid-key-insertion
May 31, 2024
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
03e5f6f
Check for key order only when one key is present
kekavc24 3e56560
Update tests to match latest fix
kekavc24 c2d5847
Add golden tests for fix
kekavc24 8cc8580
Skip random test until issue #85 is fixed
kekavc24 1326fa3
Update changelog
kekavc24 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.