aboutsummaryrefslogtreecommitdiffstats
path: root/repository/mock_repo.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
committerMichael Muré <batolettre@gmail.com>2019-11-19 00:27:40 +0100
commita9b32e6bdaa610e2244816618a316bcdf53545e6 (patch)
tree579e49e7972dd0b1719227eee75a767dba92208d /repository/mock_repo.go
parent0b2a99ab965a1a90e138cc26f12c160a0dac60c2 (diff)
downloadgit-bug-a9b32e6bdaa610e2244816618a316bcdf53545e6.tar.gz
repo: esthetism rename
Diffstat (limited to 'repository/mock_repo.go')
-rw-r--r--repository/mock_repo.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/mock_repo.go b/repository/mock_repo.go
index 26c02ede..88c5a132 100644
--- a/repository/mock_repo.go
+++ b/repository/mock_repo.go
@@ -236,12 +236,12 @@ func (r *mockRepoForTest) EditTimeIncrement() (lamport.Time, error) {
return r.editClock.Increment(), nil
}
-func (r *mockRepoForTest) CreateWitness(time lamport.Time) error {
+func (r *mockRepoForTest) WitnessCreate(time lamport.Time) error {
r.createClock.Witness(time)
return nil
}
-func (r *mockRepoForTest) EditWitness(time lamport.Time) error {
+func (r *mockRepoForTest) WitnessEdit(time lamport.Time) error {
r.editClock.Witness(time)
return nil
}