From 7e46683cf74d3eb5b10ac867c7f1cfac1ed8ae5e Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Wed, 9 Oct 2019 21:27:37 +0200 Subject: [PATCH] :white_check_mark: improve testing --- tests/import/get_module.c | 3 ++- tests/sh/import.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/import/get_module.c b/tests/import/get_module.c index 2d58570d..19b72862 100644 --- a/tests/import/get_module.c +++ b/tests/import/get_module.c @@ -27,7 +27,8 @@ GWMODEND(dummy_module) { } GWION_IMPORT(dummy_module) { - GWI_OB(get_module(gwi->gwion, "dummy")) + GWI_OB(get_module(gwi->gwion, "dummy_module")) + puts("test passed!"); get_module(gwi->gwion, "non_existant_module"); return GW_OK; } diff --git a/tests/sh/import.sh b/tests/sh/import.sh index edf63e53..bf9653c5 100644 --- a/tests/sh/import.sh +++ b/tests/sh/import.sh @@ -1,5 +1,5 @@ #!/bin/bash -# [test] #34 +# [test] #37 n=0 [ "$1" ] && n="$1" -- 2.43.0