File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ __get_cxx_version ()
133
133
134
134
auto input_guard = input_redirection (config.allow_stdin );
135
135
136
- if (code.find (" %undo" ) != 0 )
136
+ if (code.find (" %undo" ) != 0 )
137
137
{
138
138
// Check for magics
139
139
for (auto & pre : preamble_manager.preamble )
Original file line number Diff line number Diff line change @@ -1077,10 +1077,16 @@ TEST_SUITE("file") {
1077
1077
}
1078
1078
}
1079
1079
1080
- # if !defined(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
1080
+
1081
1081
TEST_SUITE (" undo_and_redefinition" )
1082
1082
{
1083
+ #if defined(XEUS_CPP_EMSCRIPTEN_WASM_BUILD)
1084
+ TEST_CASE (" RedefinitionAndUndoErrors"
1085
+ * doctest::should_fail (true )
1086
+ * doctest::description (" TODO: Currently fails for the Emscripten build" ))
1087
+ #else
1083
1088
TEST_CASE (" RedefinitionAndUndoErrors" )
1089
+ #endif
1084
1090
{
1085
1091
std::vector<const char *> Args = {/* "-v", "resource-dir", "..."*/ };
1086
1092
xcpp::interpreter interpreter ((int ) Args.size (), Args.data ());
@@ -1145,4 +1151,3 @@ TEST_SUITE("undo_and_redefinition")
1145
1151
REQUIRE (execute4[" status" ] == " error" );
1146
1152
}
1147
1153
}
1148
- #endif
You can’t perform that action at this time.
0 commit comments