Commit 246ba2c4 authored by yann300's avatar yann300

fix tests

parent 3df99cd3
......@@ -125,7 +125,7 @@ tape('TraceManager', function (t) {
if (error) {
st.fail(error)
} else {
st.ok(result === 0)
st.ok(result.start === 0)
}
})
......@@ -134,7 +134,7 @@ tape('TraceManager', function (t) {
if (error) {
st.fail(error)
} else {
st.ok(result === 64)
st.ok(result.start === 64)
}
})
......@@ -143,7 +143,9 @@ tape('TraceManager', function (t) {
if (error) {
st.fail(error)
} else {
st.ok(result === 109)
st.ok(result.start === 0)
// this was 109 before: 111 is targeting the root call (starting index 0)
// this test make more sense as it is now (109 is the index of RETURN).
}
})
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment