From a00cb84da48b1f53a67c0ed43c90e6b4f720262f Mon Sep 17 00:00:00 2001 From: Dominik Ritter Date: Mon, 4 Feb 2019 15:40:31 +0100 Subject: Fix regular expression and test --- test/segments/ip.spec | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'test/segments') diff --git a/test/segments/ip.spec b/test/segments/ip.spec index 9fb0bddb..2dce55f7 100755 --- a/test/segments/ip.spec +++ b/test/segments/ip.spec @@ -212,6 +212,8 @@ function testIpSegmentWorksOnOsxWithNoInterfaceSpecified() { function testIpSegmentWorksOnOsxWithInterfaceSpecified() { fakeIfconfig "eth1" + local POWERLEVEL9K_IP_INTERFACE="eth1" + # Load Powerlevel9k source powerlevel9k.zsh-theme local OS='OSX' # Fake OSX @@ -232,6 +234,8 @@ function testIpSegmentWorksOnLinuxWithNoInterfaceSpecified() { function testIpSegmentWorksOnLinuxWithInterfaceSpecified() { fakeIp "eth3" + local POWERLEVEL9K_IP_INTERFACE="eth3" + # Load Powerlevel9k source powerlevel9k.zsh-theme local OS='Linux' # Fake Linux -- cgit v1.2.3