summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-10-01 17:47:37 -0400
committerDavid Robillard <d@drobilla.net>2016-10-02 12:24:57 -0400
commite2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d (patch)
tree724dc9a1945b7ffa8a286a1f1a9f0bf6b0c11332 /tests
parenta172e76897157e5a0d2ebd3fa3f7f77ec38a5df0 (diff)
downloadingen-e2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d.tar.gz
ingen-e2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d.tar.bz2
ingen-e2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d.zip
Fix unit test responses and ensure events succeed
Diffstat (limited to 'tests')
-rw-r--r--tests/ingen_test.cpp2
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;
}