diff options
Diffstat (limited to 'test/segments/public_ip.spec')
-rwxr-xr-x | test/segments/public_ip.spec | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/segments/public_ip.spec b/test/segments/public_ip.spec index 5ae62321..2c7a00e9 100755 --- a/test/segments/public_ip.spec +++ b/test/segments/public_ip.spec @@ -337,7 +337,7 @@ function testPublicIpSegmentWithVPNTurnedOnLinux() { # Fake ip command fakeIp "tun1" - assertEquals "%K{000} %F{007}(vpn) %f%F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" + assertEquals "%K{000} %F{007}(vpn) %F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" } function testPublicIpSegmentWithVPNTurnedOnOsx() { @@ -357,7 +357,7 @@ function testPublicIpSegmentWithVPNTurnedOnOsx() { # Fake ifconfig fakeIfconfig "tun1" - assertEquals "%K{000} %F{007}(vpn) %f%F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" + assertEquals "%K{000} %F{007}(vpn) %F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" unfunction stat } @@ -379,7 +379,7 @@ function testPublicIpSegmentWithVPNTurnedOnAndFuzzyMatchingOnOsx() { # Fake ifconfig fakeIfconfig "tun3" - assertEquals "%K{000} %F{007}(vpn) %f%F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" + assertEquals "%K{000} %F{007}(vpn) %F{007}1.2.3.4 " "$(prompt_public_ip left 1 false "$FOLDER")" unfunction stat } |