Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1250770

Browse files
committed
make expected text match
1 parent 74e3d93 commit 1250770

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cli/jail_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestJail(t *testing.T) {
1717
t.Run("Basic Usage", func(t *testing.T) {
1818
t.Parallel()
1919

20-
// coder jail requires root privileges to run
20+
// coder jail requires root privileges to run.
2121
if os.Getgid() != 0 {
2222
t.Skip("skipped jail test because it requires root")
2323
}
@@ -34,7 +34,7 @@ func TestJail(t *testing.T) {
3434
close(done)
3535
}()
3636

37-
pty.ExpectMatch("hello")
37+
pty.ExpectMatch("foo")
3838

3939
cancelFunc()
4040
<-done

0 commit comments

Comments
 (0)