Created
February 21, 2019 16:12
-
-
Save jonmosco/eefcff12675fc154de81cc99a2bb1500 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test do | |
kubeon = ". #{opt_share}/kube-ps1.sh && echo $KUBE_PS1_SHELL" | |
assert_equal "zsh", shell_output("zsh -c '#{kubeon}'").chomp | |
end | |
==> zsh -c '. /usr/local/opt/kube-ps1/share/kube-ps1.sh && echo $KUBE_PS1_SHELL' | |
/usr/local/opt/kube-ps1/share/kube-ps1.sh:27: character not in range | |
Error: kube-ps1: failed | |
An exception occurred within a child process: | |
Test::Unit::AssertionFailedError: <0> expected but was | |
<126>. | |
Line 27 from code: | |
KUBE_PS1_SYMBOL_DEFAULT=${KUBE_PS1_SYMBOL_DEFAULT:-$'\u2388 '} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment