Fix spec: ci_trace_shared_examples.rb for positive offset by append
This commit is contained in:
parent
6992ed7d73
commit
819fccd6c7
1 changed files with 1 additions and 1 deletions
|
@ -196,7 +196,7 @@ shared_examples_for 'common trace features' do
|
|||
|
||||
context 'tries to append trace at different offset' do
|
||||
it "fails with append" do
|
||||
expect(trace.append("56", 2)).to eq(-4)
|
||||
expect(trace.append("56", 2)).to eq(4)
|
||||
expect(trace.raw).to eq("1234")
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue