fix: update output format
All checks were successful
default / ensure tests work (push) Successful in 25s
All checks were successful
default / ensure tests work (push) Successful in 25s
This commit is contained in:
parent
402ecfd760
commit
2b90918d74
1 changed files with 7 additions and 7 deletions
|
|
@ -322,8 +322,8 @@ func TestAction_SaveState(t *testing.T) {
|
|||
t.Errorf("unable to read temp env file: %s", err)
|
||||
}
|
||||
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
if got := string(data); got != want {
|
||||
t.Errorf("expected %q to be %q", got, want)
|
||||
}
|
||||
|
|
@ -399,8 +399,8 @@ func TestAction_SetEnv(t *testing.T) {
|
|||
t.Errorf("unable to read temp env file: %s", err)
|
||||
}
|
||||
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
if got := string(data); got != want {
|
||||
t.Errorf("expected %q to be %q", got, want)
|
||||
}
|
||||
|
|
@ -435,8 +435,8 @@ func TestAction_SetOutput(t *testing.T) {
|
|||
t.Errorf("unable to read temp env file: %s", err)
|
||||
}
|
||||
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s", multiLineFileDelim, multiLineFileDelim)
|
||||
want := fmt.Sprintf("key<<%s\nvalue\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
want += fmt.Sprintf("key2<<%s\nvalue2\n%s\n", multiLineFileDelim, multiLineFileDelim)
|
||||
if got := string(data); got != want {
|
||||
t.Errorf("expected %q to be %q", got, want)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue