diff options
author | David Robillard <d@drobilla.net> | 2016-10-01 17:47:37 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2016-10-01 17:49:08 -0400 |
commit | 75b62f5cb8a6bb5b0387969eeaa13715e505b9bc (patch) | |
tree | 501ee9f0788f59f710ca5c67a9f1a994bacede23 /tests | |
parent | 98373a809cd82f254dddc7fd1eff9a6ec52c91b1 (diff) | |
download | ingen-75b62f5cb8a6bb5b0387969eeaa13715e505b9bc.tar.gz ingen-75b62f5cb8a6bb5b0387969eeaa13715e505b9bc.tar.bz2 ingen-75b62f5cb8a6bb5b0387969eeaa13715e505b9bc.zip |
Fix unit test responses and ensure events succeed
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ingen_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ingen_test.cpp b/tests/ingen_test.cpp index 6633e5c5..bb013ebd 100644 --- a/tests/ingen_test.cpp +++ b/tests/ingen_test.cpp @@ -256,7 +256,7 @@ main(int argc, char** argv) NULL, NULL, atom->type, atom->size, LV2_ATOM_BODY(atom)) << endl; #endif - if (!atom_reader.write((const LV2_Atom*)out.buf)) { + if (!atom_reader.write((const LV2_Atom*)out.buf, n_events + 1)) { return EXIT_FAILURE; } |