rjkroege / edwood

Go version of Plan9 Acme Editor
Other
387 stars 34 forks source link

Add test for multi-window Undo/Redo #391

Closed rjkroege closed 3 years ago

rjkroege commented 3 years ago

Partially address #383 by adding a more comprehensive row, col, wind, text, oeb test fixture and demonstrate that Undo/Redo history sequences correctly diverge and rejoin across a pair of different Window instances.

codecov[bot] commented 3 years ago

Codecov Report

Merging #391 (612ccd2) into master (51523d3) will increase coverage by 0.23%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #391      +/-   ##
==========================================
+ Coverage   53.33%   53.56%   +0.23%     
==========================================
  Files          54       54              
  Lines       10588    10594       +6     
==========================================
+ Hits         5647     5675      +28     
+ Misses       4519     4506      -13     
+ Partials      422      413       -9     
Impacted Files Coverage Δ
exec.go 37.62% <ø> (+0.88%) :arrow_up:
file/file.go 86.89% <ø> (ø)
file/observable_editable_buffer.go 70.00% <ø> (ø)
row.go 45.93% <100.00%> (+0.76%) :arrow_up:
text.go 48.98% <0.00%> (+1.55%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 51523d3...612ccd2. Read the comment docs.