From e2f63c5d8e296a35c06d4a3fd522aa5224a6ad3d Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 1 Oct 2016 17:47:37 -0400 Subject: Fix unit test responses and ensure events succeed --- tests/ingen_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/ingen_test.cpp') 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; } -- cgit v1.2.1