Fix spec: ci_trace_shared_examples.rb for positive offset by append

This commit is contained in:
Shinya Maeda 2018-05-07 16:54:47 +09:00
parent 6992ed7d73
commit 819fccd6c7
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ shared_examples_for 'common trace features' do
context 'tries to append trace at different offset' do context 'tries to append trace at different offset' do
it "fails with append" 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") expect(trace.raw).to eq("1234")
end end
end end