tweak buffer unit test
This commit is contained in:
parent
edef8e4e98
commit
1c301482d5
|
@ -48,6 +48,8 @@ void test_buffer()
|
||||||
buffer.end_undo_group();
|
buffer.end_undo_group();
|
||||||
buffer.undo();
|
buffer.undo();
|
||||||
assert(buffer.string(buffer.end() - 7, buffer.end()) == "kanaky\n");
|
assert(buffer.string(buffer.end() - 7, buffer.end()) == "kanaky\n");
|
||||||
|
buffer.redo();
|
||||||
|
assert(buffer.string(buffer.end() - 6, buffer.end()) == "mutch\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
void test_editor()
|
void test_editor()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user