Skip to content

Commit dae7773

Browse files
author
kr-2003
committed
removed testing undo on first transac
1 parent 67fc553 commit dae7773

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

unittests/CppInterOp/FunctionReflectionTest.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,8 @@ TEST(FunctionReflectionTest, UndoTest) {
15241524
<< "Test fails for Emscipten builds";
15251525
#else
15261526
Cpp::CreateInterpreter();
1527+
EXPECT_EQ(Cpp::Process("int a = 5;"), 0);
1528+
EXPECT_EQ(Cpp::Process("int b = 10;"), 0);
15271529
EXPECT_EQ(Cpp::Process("int x = 5;"), 0);
15281530
Cpp::Undo();
15291531
EXPECT_NE(Cpp::Process("int y = x;"), 0);

0 commit comments

Comments
 (0)