File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -668,7 +668,7 @@ func Test_parsePattern(t *testing.T) {
668668 name : "path ending with slash double dot" ,
669669 path : "/.." ,
670670 },
671- // Allowed dot and slash combinaison
671+ // Allowed dot and slash combinations
672672 {
673673 name : "last path segment starting with slash dot and text" ,
674674 path : "/foo/.bar" ,
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ func (t *tXn) commit() *iTree {
9898}
9999
100100// clone capture a point-in-time clone of the transaction. The cloned transaction will contain
101- // any uncommited writes in the original transaction but further mutations to either will be independent and result
101+ // any uncommitted writes in the original transaction but further mutations to either will be independent and result
102102// in different tree on commit.
103103func (t * tXn ) clone () * tXn {
104104 t .writable = nil
Original file line number Diff line number Diff line change @@ -401,7 +401,7 @@ func (txn *Txn) Abort() {
401401
402402// Snapshot returns a point in time snapshot of the current state of the transaction.
403403// Returns a new read-only transaction or nil if the transaction is already aborted
404- // or commited .
404+ // or committed .
405405func (txn * Txn ) Snapshot () * Txn {
406406 if txn .rootTxn == nil {
407407 return nil
Original file line number Diff line number Diff line change @@ -141,7 +141,7 @@ func TestTxn_Isolation(t *testing.T) {
141141
142142 txn .Commit ()
143143
144- // Reflect after commited
144+ // Reflect after committed
145145 tree = f .getTree ()
146146 assert .Empty (t , tree .methods )
147147 assert .Equal (t , 0 , iterutil .Len (f .Iter ().All ()))
You can’t perform that action at this time.
0 commit comments