Skip to content

Commit 952125c

Browse files
DataflowError shouldn't provide stack by default
1 parent 86520e3 commit 952125c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

engine/runtime-integration-tests/src/test/scala/org/enso/interpreter/test/instrument/RuntimeErrorsTest.scala

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,7 +1060,7 @@ class RuntimeErrorsTest
10601060
"div"
10611061
)
10621062
),
1063-
Api.ExpressionUpdate.Payload.DataflowError(Seq(xId))
1063+
Api.ExpressionUpdate.Payload.DataflowError(Seq())
10641064
),
10651065
TestMessages.error(
10661066
contextId,
@@ -1072,7 +1072,7 @@ class RuntimeErrorsTest
10721072
"-"
10731073
)
10741074
),
1075-
Api.ExpressionUpdate.Payload.DataflowError(Seq(xId))
1075+
Api.ExpressionUpdate.Payload.DataflowError(Seq())
10761076
),
10771077
context.executionComplete(contextId)
10781078
)
@@ -1305,6 +1305,8 @@ class RuntimeErrorsTest
13051305
val contents = metadata.appendToCode(code)
13061306
val mainFile = context.writeMain(contents)
13071307

1308+
metadata.assertInCode(fooThrowId, code, "Error.throw MyError1")
1309+
13081310
// create context
13091311
context.send(Api.Request(requestId, Api.CreateContextRequest(contextId)))
13101312
context.receive shouldEqual Some(

0 commit comments

Comments
 (0)