From 5e0debf1729a57c1ecba6fb1cb276fc70f3b2e88 Mon Sep 17 00:00:00 2001
From: poulpe <poulpe@localhost.localdomain>
Date: Wed, 24 Mar 2021 20:37:02 +0100
Subject: [PATCH] [Update] Add print (tested)

---
 tests/test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/test.c b/tests/test.c
index 07893ec..4c95fd1 100644
--- a/tests/test.c
+++ b/tests/test.c
@@ -226,7 +226,7 @@ static MunitResult test_tree_print()
   nd = bst_insert(nd,7);
   nd = bst_insert(nd,14);
   nd = bst_insert(nd,13);
-  FILE* f = tmpfile();
+  FILE* f = tmpfile; // Change by stdout for print in console
 
   bst_print(nd,f);
   char buffer[22];
-- 
GitLab