Skip to content

Commit 3f63f93

Browse files
Update snapshot
1 parent 4758006 commit 3f63f93

14 files changed

Lines changed: 3 additions & 3 deletions

command_test.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ func TestHelp(t *testing.T) {
513513
snap := snapshot.New(
514514
t,
515515
snapshot.Update(*update),
516-
snapshot.Color(os.Getenv("CI") == ""),
517516
snapshot.WithFormatter(snapshot.TextFormatter()),
518517
)
519518

@@ -524,7 +523,6 @@ func TestHelp(t *testing.T) {
524523
options := []cli.Option{
525524
cli.Stdout(stdout),
526525
cli.Stderr(stderr),
527-
cli.NoColour(true),
528526
}
529527

530528
cmd, err := cli.New("test", slices.Concat(options, tt.options)...)

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ignore (
99

1010
require (
1111
go.followtheprocess.codes/hue v1.0.0
12-
go.followtheprocess.codes/snapshot v0.8.0
12+
go.followtheprocess.codes/snapshot v0.9.0
1313
go.followtheprocess.codes/test v1.0.0
1414
)
1515

go.sum

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ go.followtheprocess.codes/snapshot v0.7.0 h1:tzlaJN2JRdfZail13NxinSr4hx3xjBRr1zK
44
go.followtheprocess.codes/snapshot v0.7.0/go.mod h1:3CCSAEz+nbity6iZ9eWid9zLtIqFG7PE3DLhWGHLdIU=
55
go.followtheprocess.codes/snapshot v0.8.0 h1:8FizwgnHIlZZa4wSgHeDYFO7OWY3yAzhkA1hIYCzoDo=
66
go.followtheprocess.codes/snapshot v0.8.0/go.mod h1:3CCSAEz+nbity6iZ9eWid9zLtIqFG7PE3DLhWGHLdIU=
7+
go.followtheprocess.codes/snapshot v0.9.0 h1:7M6AkOL/3KFJ9e8epgwwIg+3aGnNPCHMX4/IOpbA2bw=
8+
go.followtheprocess.codes/snapshot v0.9.0/go.mod h1:3CCSAEz+nbity6iZ9eWid9zLtIqFG7PE3DLhWGHLdIU=
79
go.followtheprocess.codes/test v1.0.0 h1:5m2MPOQpohDC9pf5hgqpH+4ldJP5g+YFVdoGQY41aeU=
810
go.followtheprocess.codes/test v1.0.0/go.mod h1:e627pR8IhsTV/RfuP/WKYjyL0BmuIbmaw2iKlQBCWrY=
911
go.yaml.in/yaml/v4 v4.0.0-rc.3 h1:3h1fjsh1CTAPjW7q/EMe+C8shx5d8ctzZTrLcs/j8Go=
File renamed without changes.
File renamed without changes.

testdata/snapshots/TestHelp/full_description_strip_whitespace.snap renamed to testdata/snapshots/TestHelp/full_description_strip_whitespace.snap.txt

File renamed without changes.

testdata/snapshots/TestHelp/subcommands_different_lengths.snap renamed to testdata/snapshots/TestHelp/subcommands_different_lengths.snap.txt

File renamed without changes.
File renamed without changes.

testdata/snapshots/TestHelp/with_full_description.snap renamed to testdata/snapshots/TestHelp/with_full_description.snap.txt

File renamed without changes.

testdata/snapshots/TestHelp/with_named_arguments.snap renamed to testdata/snapshots/TestHelp/with_named_arguments.snap.txt

File renamed without changes.

0 commit comments

Comments
 (0)