Fix typos: iff -> if

Signed-off-by: mooncake <xcoder@tenxcloud.com>
This commit is contained in:
mooncake 2018-11-04 16:59:45 +08:00
parent 2702b12f2b
commit 6ba9f22ab8
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ func Test_Replacement(t *testing.T) {
New *ChannelVersion New *ChannelVersion
Replaces bool Replaces bool
}{ }{
// With no id, update iff newer semver // With no id, update if newer semver
{ {
Old: &ChannelVersion{Version: s("1.0.0"), Id: ""}, Old: &ChannelVersion{Version: s("1.0.0"), Id: ""},
New: &ChannelVersion{Version: s("1.0.0"), Id: ""}, New: &ChannelVersion{Version: s("1.0.0"), Id: ""},