Skip to content

Commit 02755f9

Browse files
fix typos
1 parent 83b08c0 commit 02755f9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/lpython/tests/test_llvm.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -884,10 +884,10 @@ def subr(x: f64, y: f64) -> f64:
884884
CHECK(r.result.type == PythonCompiler::EvalResult::none);
885885
r = e.evaluate2("addr(2.5, 3.5)");
886886
CHECK(r.ok);
887-
CHECK(r.result.type == PythonCompiler::EvalResult::integer4);
888-
CHECK(r.result.i32 == 5);
887+
CHECK(r.result.type == PythonCompiler::EvalResult::real8);
888+
CHECK(r.result.f64 == 6);
889889
r = e.evaluate2("subr(2.5, 3.5)");
890890
CHECK(r.ok);
891-
CHECK(r.result.type == PythonCompiler::EvalResult::integer4);
892-
CHECK(r.result.i32 == -1);
891+
CHECK(r.result.type == PythonCompiler::EvalResult::real8);
892+
CHECK(r.result.f64 == -1);
893893
}

0 commit comments

Comments
 (0)