Skip to content

Commit 4e0be6f

Browse files
mauricebrinkmannsethboyles
authored andcommitted
added app-port to tableHeaders const and fixed typo
1 parent de2913b commit 4e0be6f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

integration/v7/isolated/routes_command_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
var _ = Describe("routes command", func() {
1717

1818
appProtocolValue := "http1"
19-
const tableHeaders = `space\s+host\s+domain\s+port\s+path\s+protocol\s+app-protocol\s+apps\s+service instance\s+options`
19+
const tableHeaders = `space\s+host\s+domain\s+port\s+path\s+protocol\s+app-protocol\s+app-port\s+apps\s+service instance\s+options`
2020
Context("Help", func() {
2121
It("appears in cf help -a", func() {
2222
session := helpers.CF("help", "-a")
@@ -135,7 +135,7 @@ var _ = Describe("routes command", func() {
135135
Expect(session).To(Say(tableHeaders))
136136
Expect(session).ToNot(Say(`%s\s+route1\s+%s\s+http\s+%s\s+[0-9]+\s+%s\s+%s\n`, spaceName, domainName, appProtocolValue, appName1, serviceInstanceName))
137137
Expect(session).ToNot(Say(`%s\s+route1a\s+%s\s+http\s+%s\s+[0-9]+\s+%s\s+\n`, spaceName, domainName, appProtocolValue, appName1))
138-
Expect(session).To(Say(`%s\s+route1b\s+%s\s+http\s+%s\s+[0-9]+\s+s\s+\n`, spaceName, domainName, appProtocolValue, appName1))
138+
Expect(session).To(Say(`%s\s+route1b\s+%s\s+http\s+%s\s+[0-9]+\s+%s\s+\n`, spaceName, domainName, appProtocolValue, appName1))
139139
Expect(session).ToNot(Say(`%s\s+route2\s+%s\s+http\s+%s\s+[0-9]+\s+%s\s+\n`, spaceName, domainName, appProtocolValue, appName2))
140140
})
141141

0 commit comments

Comments
 (0)