fix some typos

Signed-off-by: fate-grand-order <chenjg@harmonycloud.cn>
This commit is contained in:
fate-grand-order 2017-02-10 10:52:25 +08:00
parent 696e88c813
commit 8ce64b2000
5 changed files with 5 additions and 5 deletions

View file

@ -22,7 +22,7 @@ func TestBasicEvent(t *testing.T) {
ctx = WithTopic(ctx, "content")
// simulate sub-operations with a separate topic, on the content store
G(ctx).Post(ctx, fmt.Sprintf("received sha:256"))
G(ctx).Post(ctx, fmt.Sprint("received sha:256"))
G(ctx).Post(ctx, fmt.Sprintf("unpack layer %v", layer))

View file

@ -37,7 +37,7 @@ func (tx *transaction) begin(ctx context.Context, poster Poster) *transaction {
}
// post the transaction started event
poster.Post(ctx, child.makeTransactionEvent("begin")) // tranactions are really just events
poster.Post(ctx, child.makeTransactionEvent("begin")) // transactions are really just events
return child
}