Commit 819fccd6 authored by Shinya Maeda's avatar Shinya Maeda

Fix spec: ci_trace_shared_examples.rb for positive offset by append

parent 6992ed7d
...@@ -196,7 +196,7 @@ shared_examples_for 'common trace features' do ...@@ -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
......
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