From 7074ce9a639d559b19cdbf7bd4be44b830c7b433 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Bylica?= Date: Tue, 5 Nov 2019 13:19:56 +0100 Subject: [PATCH] test: Fix vmtester/precompile_test test --- test/vmtester/tests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/vmtester/tests.cpp b/test/vmtester/tests.cpp index 1064d3c..12fd5b5 100644 --- a/test/vmtester/tests.cpp +++ b/test/vmtester/tests.cpp @@ -201,9 +201,8 @@ TEST_F(evmc_vm_test, precompile_test) { EXPECT_EQ(result.output_size, size_t{0}); } - else + else if (result.output_size != 0) { - EXPECT_NE(result.output_size, size_t{0}); read_buffer(result.output_data, result.output_size); }