summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-22 15:24:01 +0100
committerDavid Robillard <d@drobilla.net>2020-12-22 15:24:01 +0100
commitc2e45d3b8338447be4b4cb10b1c43871a5a49460 (patch)
tree3a7a1bff652be934b626889a048ffb9e99396de1 /tests
parentea28ade6ad7ec94dd35b0f24aef35850b56d0cbb (diff)
downloadsratom-c2e45d3b8338447be4b4cb10b1c43871a5a49460.tar.gz
sratom-c2e45d3b8338447be4b4cb10b1c43871a5a49460.tar.bz2
sratom-c2e45d3b8338447be4b4cb10b1c43871a5a49460.zip
Remove cloned branches
Diffstat (limited to 'tests')
-rw-r--r--tests/sratom_test.c11
1 files changed, 4 insertions, 7 deletions
diff --git a/tests/sratom_test.c b/tests/sratom_test.c
index 1738e3d..bd54326 100644
--- a/tests/sratom_test.c
+++ b/tests/sratom_test.c
@@ -383,13 +383,10 @@ test(SerdEnv* env, bool top_level, bool pretty_numbers)
static int
test_env(SerdEnv* env)
{
- if (test(env, false, false)) {
- return 1;
- } else if (test(env, true, false)) {
- return 1;
- } else if (test(env, false, true)) {
- return 1;
- } else if (test(env, true, true)) {
+ if (test(env, false, false) || //
+ test(env, true, false) || //
+ test(env, false, true) || //
+ test(env, true, true)) {
return 1;
}