mirror of
https://github.com/appleboy/drone-ssh.git
synced 2025-05-09 18:23:21 +08:00
update5
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
parent
53b94abc2f
commit
13f0f77eaf
@ -3,6 +3,7 @@ package main
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"io"
|
"io"
|
||||||
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"reflect"
|
"reflect"
|
||||||
"strings"
|
"strings"
|
||||||
@ -991,6 +992,10 @@ func TestCommandWithIPv6(t *testing.T) {
|
|||||||
Writer: &buffer,
|
Writer: &buffer,
|
||||||
}
|
}
|
||||||
|
|
||||||
assert.Nil(t, plugin.Exec())
|
err := plugin.Exec()
|
||||||
|
if err != nil {
|
||||||
|
log.Printf("%#v", err)
|
||||||
|
}
|
||||||
|
assert.Nil(t, err)
|
||||||
assert.Equal(t, unindent(expected), unindent(buffer.String()))
|
assert.Equal(t, unindent(expected), unindent(buffer.String()))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user