aboutsummaryrefslogtreecommitdiffstats
path: root/worktree_commit_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'worktree_commit_test.go')
-rw-r--r--worktree_commit_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/worktree_commit_test.go b/worktree_commit_test.go
index 3bc112b..cb94a2b 100644
--- a/worktree_commit_test.go
+++ b/worktree_commit_test.go
@@ -3,9 +3,11 @@ package git
import (
"bytes"
"io/ioutil"
+ "log"
"os"
"os/exec"
"path/filepath"
+ "runtime"
"strings"
"time"
@@ -309,6 +311,8 @@ func (s *WorktreeSuite) TestJustStoreObjectsNotAlreadyStored(c *C) {
infoLicenseSecond, err := fsDotgit.Stat(filepath.Join("objects", "04", "84eba0d41636ba71fa612c78559cd6c3006cde"))
c.Assert(err, IsNil)
+
+ log.Printf("comparing mod time: %v == %v on %v (%v)", infoLicenseSecond.ModTime(), infoLicense.ModTime(), runtime.GOOS, runtime.GOARCH)
c.Assert(infoLicenseSecond.ModTime(), Equals, infoLicense.ModTime()) // object of LICENSE should have the same timestamp because no additional write operation was performed
}