mirror of
https://github.com/fluffle/goirc
synced 2025-09-06 00:43:20 +00:00
Run gofmt to fix some trailing whitespace &c.
This commit is contained in:
parent
e935d78bb7
commit
1e190eb233
5 changed files with 22 additions and 15 deletions
|
@ -44,7 +44,10 @@ func TestLineCopy(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestLineText(t *testing.T) {
|
||||
tests := []struct{in *Line; out string}{
|
||||
tests := []struct {
|
||||
in *Line
|
||||
out string
|
||||
}{
|
||||
{&Line{}, ""},
|
||||
{&Line{Args: []string{"one thing"}}, "one thing"},
|
||||
{&Line{Args: []string{"one", "two"}}, "two"},
|
||||
|
@ -59,7 +62,10 @@ func TestLineText(t *testing.T) {
|
|||
}
|
||||
|
||||
func TestLineTarget(t *testing.T) {
|
||||
tests := []struct{in *Line; out string}{
|
||||
tests := []struct {
|
||||
in *Line
|
||||
out string
|
||||
}{
|
||||
{&Line{}, ""},
|
||||
{&Line{Cmd: JOIN, Args: []string{"#foo"}}, "#foo"},
|
||||
{&Line{Cmd: PART, Args: []string{"#foo", "bye"}}, "#foo"},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue