Improve tests
This commit is contained in:
parent
b4b4d1453b
commit
12d85f567e
1 changed files with 63 additions and 119 deletions
|
|
@ -29,9 +29,8 @@ export const offlineDeleteRemoteRenameTest: TestDefinition = {
|
|||
{
|
||||
type: "assert-consistent",
|
||||
verify: (s: AssertableState): void => {
|
||||
s.assertFileNotExists("A.md").assertFileNotExists(
|
||||
"A_renamed.md"
|
||||
);
|
||||
// Both membership/path changed from the base: remote wins.
|
||||
s.assertFileCount(1).assertFileNotExists("A.md").assertContent("A_renamed.md", "content-a");
|
||||
}
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue