How about `assert.T(t, !isEmptyDir(dir))`?