From 04d441ef2163b36e7e9d08a482765be6fbfaef05 Mon Sep 17 00:00:00 2001 From: Konstantin Anisimov Date: Fri, 18 Nov 2016 12:44:00 +0300 Subject: [PATCH] Test fixed --- backend.native/tests/codegen/branching/when_through-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend.native/tests/codegen/branching/when_through-test.c b/backend.native/tests/codegen/branching/when_through-test.c index 6c68ffab541..3aca0410ab3 100644 --- a/backend.native/tests/codegen/branching/when_through-test.c +++ b/backend.native/tests/codegen/branching/when_through-test.c @@ -4,7 +4,7 @@ int run_test() { int (*when_through)(int) = resolve_symbol("kfun:when_through(Int)"); - if (when_through(2) != 3) return 1; + if (when_through(2) != 1) return 1; return 0; }