modes: fix test compile error
modes: fix test compile error

chriswatt/gogs,pikacloud/pikacode,dancewing/gogs,ForxaCoLab/forxa,xaionaro/gogs,wangjild/gogs,mukaiu/gogs,cgars/gogs,linquize/gogs,xaionaro/gogs,cgars/gogs,ForxaCoLab/forxa,cgars/gogs,chriswatt/gogs,pikacloud/pikacode,linquize/gogs,gogits/gogs,mukaiu/gogs,ForxaCoLab/forxa,dancewing/gogs,wangjild/gogs,pikacloud/pikacode,chriswatt/gogs,linquize/gogs,dancewing/gogs,mukaiu/gogs,gogits/gogs,gogits/gogs,dancewing/gogs,wangjild/gogs,xaionaro/gogs