Skip to content

Commit

Permalink
y
Browse files Browse the repository at this point in the history
  • Loading branch information
hahwul committed Apr 26, 2022
1 parent 4e5d1b5 commit 1fc8635
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/gee/gee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ func TestGee(t *testing.T) {
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
input := []byte("Alice")
input := []byte("HAHWUL")
r, w, err := os.Pipe()
if err != nil {
t.Fatal(err)
Expand All @@ -90,7 +90,6 @@ func TestGee(t *testing.T) {
}
w.Close()
stdin := os.Stdin
// Restore stdin right after the test.
defer func() { os.Stdin = stdin }()
os.Stdin = r
Gee(tt.args.options)
Expand Down

0 comments on commit 1fc8635

Please sign in to comment.