mirror of https://github.com/ceph/go-ceph
6900146fc4
Now that the new year has arrived this test assertion has started to fail. This is because, although I anticipated the year would eventually change and used GreaterOrEqual, the argument order is wrong. My excuse is that I find the argument order in testify's Equal function confusing, it causes me to assume other functions in testify are also confusing (even when it's the "normal" order) and/or I copy and pasted from an Equal line and didn't change the args (both are true!). Instead of allowing any old year, we assume that the clocks where the test are run are in sync enough that the current year is correct for the assertion (thanks for the suggestion Sven). Happy new year, go-ceph! Signed-off-by: John Mulligan <jmulligan@redhat.com> |
||
---|---|---|
.. | ||
admin | ||
cephfs.go | ||
cephfs_test.go | ||
command.go | ||
command_test.go | ||
conn_nautilus.go | ||
conn_nautilus_test.go | ||
directory.go | ||
directory_test.go | ||
doc.go | ||
errors.go | ||
errors_test.go | ||
file.go | ||
file_test.go | ||
file_xattr.go | ||
file_xattr_test.go | ||
mount_perms_mimic.go | ||
mount_perms_mimic_test.go | ||
path.go | ||
path_test.go | ||
path_xattr.go | ||
path_xattr_test.go | ||
permissions.go | ||
permissions_test.go | ||
statfs.go | ||
statfs_test.go | ||
statx.go | ||
statx_test.go | ||
userperm.go | ||
userperm_test.go |