diff options
| author | Albert Cervin <albert@acervin.com> | 2023-02-11 23:03:39 +0100 |
|---|---|---|
| committer | Albert Cervin <albert@acervin.com> | 2023-02-15 23:41:35 +0100 |
| commit | e45499816eab8abadbdd5bb6dd79b526a4ed6648 (patch) | |
| tree | 3cdcb0238aaae8ed1b3578e4ad71883f0702de3c /test/buffer.c | |
| parent | c2976cea9bbca465712534b7e523783e2ccc6c6e (diff) | |
| download | dged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.tar.gz dged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.tar.xz dged-e45499816eab8abadbdd5bb6dd79b526a4ed6648.zip | |
Implement undo
This also fixes a bunch of valgrind errors
Diffstat (limited to 'test/buffer.c')
| -rw-r--r-- | test/buffer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/buffer.c b/test/buffer.c index 9781a6d..38ce468 100644 --- a/test/buffer.c +++ b/test/buffer.c @@ -41,6 +41,8 @@ void test_move() { ASSERT( b.dot.col == 0 && b.dot.line == 0, "Expected to not be able to move backwards when at beginning of buffer"); + + buffer_destroy(&b); } void run_buffer_tests() { run_test(test_move); } |
