Disables float decode test if floats disabled (#144)
Co-authored-by: Adam Kulesza <adam.kulesza@arm.com>
diff --git a/test/run_tests.c b/test/run_tests.c
index 54cd883..f28f526 100644
--- a/test/run_tests.c
+++ b/test/run_tests.c
@@ -122,8 +122,8 @@
#endif /* QCBOR_DISABLE_PREFERRED_FLOAT */
#ifndef USEFULBUF_DISABLE_ALL_FLOAT
TEST_ENTRY(GeneralFloatEncodeTests),
-#endif /* USEFULBUF_DISABLE_ALL_FLOAT */
TEST_ENTRY(GeneralFloatDecodeTests),
+#endif /* USEFULBUF_DISABLE_ALL_FLOAT */
TEST_ENTRY(BstrWrapTest),
TEST_ENTRY(BstrWrapErrorTest),
TEST_ENTRY(BstrWrapNestTest),