From 32e490cdae78fbed1054d3f441e08f0670abb48f Mon Sep 17 00:00:00 2001 From: Taylor Blau Date: Tue, 21 Feb 2017 14:07:08 -0700 Subject: [PATCH] lfsapi: update test to new strings.QuoteFields semantics --- lfsapi/ssh_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lfsapi/ssh_test.go b/lfsapi/ssh_test.go index ab70983c..ec01bf9a 100644 --- a/lfsapi/ssh_test.go +++ b/lfsapi/ssh_test.go @@ -188,7 +188,7 @@ func TestSSHGetExeAndArgsSshCommandArgsWithMixedQuotes(t *testing.T) { exe, args := sshGetExeAndArgs(cli.OSEnv(), endpoint) assert.Equal(t, "sshcmd", exe) - assert.Equal(t, []string{"foo", "'bar \"baz\"'", "user@foo.com"}, args) + assert.Equal(t, []string{"foo", `bar "baz"`, "user@foo.com"}, args) } func TestSSHGetExeAndArgsSshCommandCustomPort(t *testing.T) {