Simplify history

This commit is contained in:
Madison Rye Progress
2025-09-13 21:22:06 -07:00
parent f3b3803535
commit 6198c794d5
2 changed files with 5 additions and 4 deletions

View File

@ -62,7 +62,7 @@ func TestState(t *testing.T) {
s.CursorCellDown()
s.CursorCellUp()
matches, err := regexp.Match("gogogogogram 2 2:\n(i\\(\\d,\\d\\)[\b\x01]{4}){4}fmcRLDUrldu", []byte(s.History()))
matches, err := regexp.Match(`g2,2(i\d,\d[xo]{4}){4}fmcRLDUrldu`, []byte(s.History()))
So(matches, ShouldBeTrue)
So(err, ShouldBeNil)
})