Fixed an out of date description.

geesefs-0-30-9
Aaron Jacobs 2015-08-12 15:57:14 +10:00
parent 7aa89d4d1f
commit 8f220f0e15
1 changed files with 1 additions and 3 deletions

View File

@ -23,9 +23,7 @@ import (
"github.com/jacobsa/oglematchers"
)
// Match os.FileInfo values that specify an mtime equal to the given time. On
// platforms where the Sys() method returns a struct containing an mtime, check
// also that it matches.
// Match os.FileInfo values that specify an mtime equal to the given time.
func MtimeIs(expected time.Time) oglematchers.Matcher {
return oglematchers.NewMatcher(
func(c interface{}) error { return mtimeIsWithin(c, expected, 0) },