Skip to content
Snippets Groups Projects
Commit 64e27231 authored by Martin Entlicher's avatar Martin Entlicher
Browse files

Repair FastRDebugTest.

parent 18613364
Branches
No related tags found
No related merge requests found
......@@ -72,7 +72,7 @@ public class FastRDebugTest {
public void before() {
suspendedEvent = null;
context = Context.newBuilder("R").in(System.in).out(out).err(err).build();
context = Context.newBuilder("R").allowNativeAccess(true).in(System.in).out(out).err(err).build();
debugger = context.getEngine().getInstruments().get("debugger").lookup(Debugger.class);
debuggerSession = debugger.startSession(event -> {
suspendedEvent = event;
......@@ -777,7 +777,7 @@ public class FastRDebugTest {
// Trigger findSourceLocation() call
SourceSection sourceLocation = value.getSourceLocation();
if (sourceLocation != null) {
Assert.assertSame("Sources differ", DebuggerTester.getSourceImpl(expectedSource), sourceLocation.getSource());
Assert.assertEquals("Sources differ", DebuggerTester.getSourceImpl(expectedSource), sourceLocation.getSource());
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment