Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit e41bd29

Browse files
Vipul-Cariappaubaidsk
authored andcommitted
update according to code review
1 parent 8f1e9fe commit e41bd29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/lpython/tests/test_llvm.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,9 +1459,9 @@ TEST_CASE("PythonCompiler Array 1") {
14591459
cu.po.runtime_library_dir = LCompilers::LPython::get_runtime_library_dir();
14601460
PythonCompiler e(cu);
14611461
LCompilers::Result<PythonCompiler::EvalResult>
1462-
r = e.evaluate2("i: i32[10]");
1462+
r = e.evaluate2("i: i32[10] = empty(10, dtype=int32)");
14631463
CHECK(r.ok);
1464-
CHECK(r.result.type == PythonCompiler::EvalResult::none);
1464+
CHECK(r.result.type == PythonCompiler::EvalResult::statement);
14651465
r = e.evaluate2("print(i)");
14661466
CHECK(r.ok);
14671467
CHECK(r.result.type == PythonCompiler::EvalResult::statement);

0 commit comments

Comments
 (0)