Commit 8f220f0e authored by Aaron Jacobs's avatar Aaron Jacobs

Fixed an out of date description.

parent 7aa89d4d
...@@ -23,9 +23,7 @@ import ( ...@@ -23,9 +23,7 @@ import (
"github.com/jacobsa/oglematchers" "github.com/jacobsa/oglematchers"
) )
// Match os.FileInfo values that specify an mtime equal to the given time. On // Match os.FileInfo values that specify an mtime equal to the given time.
// platforms where the Sys() method returns a struct containing an mtime, check
// also that it matches.
func MtimeIs(expected time.Time) oglematchers.Matcher { func MtimeIs(expected time.Time) oglematchers.Matcher {
return oglematchers.NewMatcher( return oglematchers.NewMatcher(
func(c interface{}) error { return mtimeIsWithin(c, expected, 0) }, func(c interface{}) error { return mtimeIsWithin(c, expected, 0) },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment