made /shortcuts separate for mac (#3571)
Этот коммит содержится в:
коммит произвёл
Corey Hulen
родитель
0b200cc924
Коммит
34077a407b
@@ -15,7 +15,12 @@ func TestShortcutsCommand(t *testing.T) {
|
||||
channel := th.BasicChannel
|
||||
|
||||
rs := Client.Must(Client.Command(channel.Id, "/shortcuts ", false)).Data.(*model.CommandResponse)
|
||||
if !strings.Contains(rs.Text, "ALT") {
|
||||
if !strings.Contains(rs.Text, "CTRL") {
|
||||
t.Fatal("failed to display shortcuts")
|
||||
}
|
||||
|
||||
rs = Client.Must(Client.Command(channel.Id, "/shortcuts mac", false)).Data.(*model.CommandResponse)
|
||||
if !strings.Contains(rs.Text, "CMD") {
|
||||
t.Fatal("failed to display Mac shortcuts")
|
||||
}
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user