Assert that history is properly merged for empty namespaces

This commit is contained in:
Chris Penner 2021-12-06 15:15:40 -06:00
parent d5dbafcf88
commit c555190c17
2 changed files with 34 additions and 0 deletions

View File

@ -27,3 +27,10 @@ The history of the namespace should still exist if requested explicitly.
.> history mynamespace
```
Merging an empty namespace should still copy its history if it has some.
```ucm
.empty> history
.empty> merge .mynamespace
.empty> history
```

View File

@ -46,3 +46,30 @@ The history of the namespace should still exist if requested explicitly.
#hkrqt3tm05 (start of history)
```
Merging an empty namespace should still copy its history if it has some.
```ucm
☝️ The namespace .empty is empty.
.empty> history
☝️ The namespace .empty is empty.
.empty> merge .mynamespace
Nothing changed as a result of the merge.
.empty> history
Note: The most recent namespace hash is immediately below this
message.
#qjc20aua9h
- Deletes:
x
#hkrqt3tm05 (start of history)
```