Move & add tests
This commit is contained in:
parent
2b78f0c76f
commit
a1b3b61c43
21 changed files with 233 additions and 303 deletions
27
backend/reconcile/tests/examples/idempotent_inserts.yml
Normal file
27
backend/reconcile/tests/examples/idempotent_inserts.yml
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
# Both inserted the same prefix; this should get deduplicateed
|
||||
parent: "hi "
|
||||
left: "hi there "
|
||||
right: "hi there my friend "
|
||||
expected: "hi there my friend "
|
||||
|
||||
---
|
||||
|
||||
# The prefix of the 2nd appears on the 1st so it shouldn't get duplicatelicated
|
||||
parent: "hi "
|
||||
left: "hi there you "
|
||||
right: "hi there my friend "
|
||||
expected: "hi there my friend you "
|
||||
|
||||
---
|
||||
|
||||
parent: a
|
||||
left: a b c
|
||||
right: a b c d
|
||||
expected: a b c d
|
||||
|
||||
---
|
||||
|
||||
parent: a
|
||||
left: abc
|
||||
right: abcd
|
||||
expected: abcabcd
|
||||
Loading…
Add table
Add a link
Reference in a new issue