Permalink
Browse files

Update shunit2 to newest version

  • Loading branch information...
dritter committed Aug 4, 2018
1 parent 5181483 commit 81fd69ae98337c20cb3e530d4efe13bec2fb3b20
Showing with 40 additions and 40 deletions.
  1. +1 −1 shunit2
  2. +1 −1 test/core/color_overriding.spec
  3. +1 −1 test/core/joining_segments.spec
  4. +1 −1 test/core/prompt.spec
  5. +1 −1 test/core/visual_identifier.spec
  6. +1 −1 test/functions/colors.spec
  7. +1 −1 test/functions/icons.spec
  8. +1 −1 test/functions/utilities.spec
  9. +1 −1 test/powerlevel9k.spec
  10. +1 −1 test/segments/anaconda.spec
  11. +1 −1 test/segments/aws_eb_env.spec
  12. +1 −1 test/segments/background_jobs.spec
  13. +1 −1 test/segments/battery.spec
  14. +1 −1 test/segments/command_execution_time.spec
  15. +1 −1 test/segments/context.spec
  16. +1 −1 test/segments/custom.spec
  17. +1 −1 test/segments/detect_virt.spec
  18. +1 −1 test/segments/dir.spec
  19. +1 −1 test/segments/disk_usage.spec
  20. +1 −1 test/segments/go_version.spec
  21. +1 −1 test/segments/ip.spec
  22. +1 −1 test/segments/kubecontext.spec
  23. +1 −1 test/segments/laravel_version.spec
  24. +1 −1 test/segments/load.spec
  25. +1 −1 test/segments/node_version.spec
  26. +1 −1 test/segments/nodeenv.spec
  27. +1 −1 test/segments/nvm.spec
  28. +1 −1 test/segments/php_version.spec
  29. +1 −1 test/segments/public_ip.spec
  30. +1 −1 test/segments/ram.spec
  31. +1 −1 test/segments/rust_version.spec
  32. +1 −1 test/segments/ssh.spec
  33. +1 −1 test/segments/status.spec
  34. +1 −1 test/segments/swap.spec
  35. +1 −1 test/segments/swift_version.spec
  36. +1 −1 test/segments/symfony_version.spec
  37. +1 −1 test/segments/todo.spec
  38. +1 −1 test/segments/vcs-git.spec
  39. +1 −1 test/segments/vcs-hg.spec
  40. +1 −1 test/segments/vi_mode.spec
Submodule shunit2 updated 140 files
@@ -59,4 +59,4 @@ function testColorOverridingOfCustomSegment() {
assertEquals "%K{red} %F{green%}CW %f%F{red}world %k%F{red}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -184,4 +184,4 @@ function testRightJoiningBuiltinSegmentWorks() {
unalias php
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -101,4 +101,4 @@ function testPrefixingSecondLineOnLeftPrompt() {
assertEquals "╭─%f%b%k%K{white} %F{black}world1 %k%F{white}%f ${nl}XXX" "${(e)PROMPT}"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -47,4 +47,4 @@ function testVisualIdentifierPrintsNothingIfNotAvailable() {
assertEquals "%K{white} %F{black}world1 %k%F{white}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -39,4 +39,4 @@ function testIsSameColorDoesNotYieldNotEqualColorsTruthy() {
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -470,4 +470,4 @@ function testAllIconsAreDefinedLikeInNerdfontCompleteMode() {
unset _ICONS_UNDER_TEST
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -106,4 +106,4 @@ function testSegmentShouldNotBeJoinedIfPredecessingSegmentIsNotJoinedButConditio
unset segments
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -120,4 +120,4 @@ function testNewlineOnRpromptCanBeDisabled() {
assertEquals '$(print_icon MULTILINE_FIRST_PROMPT_PREFIX) world  $(print_icon MULTILINE_LAST_PROMPT_PREFIX) rworld' "$(print -P ${PROMPT}${RPROMPT})"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -66,4 +66,4 @@ function testAnacondaSegmentWorks() {
assertEquals "%K{blue} %F{black%}icon-here %f%F{black}(tmptest) %k%F{blue}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -58,4 +58,4 @@ function testAwsEbEnvSegmentWorksIfElasticBeanstalkEnvironmentIsSetInParentDirec
cd -
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -75,4 +75,4 @@ function testBackgroundJobsSegmentWithVerboseMode() {
unfunction jobs
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -170,4 +170,4 @@ function testBatterySegmentIfBatteryIsCalculatingWithAcpiEnabledOnLinux() {
assertEquals "%K{black} %F{white%}🔋 %f%F{white}50%% (...) " "$(prompt_battery left 1 false ${FOLDER})"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -101,4 +101,4 @@ function testCommandExecutionTimeIsFormattedHumandReadbleForHourLongCommand() {
assertEquals "%K{red} %F{yellow1%}Dur %f%F{yellow1}02:00:00 %k%F{red}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -103,4 +103,4 @@ function testContextSegmentIsShownIfForced() {
assertEquals "%K{black} %F{yellow}$(whoami) %k%F{black}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -83,4 +83,4 @@ function testSettingVisualIdentifierForegroundColorForCustomSegment() {
assertEquals "%K{white} %F{red%}hw %f%F{black}world %k%F{white}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -80,4 +80,4 @@ function testDetectVirtSegmentIfRootFsIsNotOnExpectedInode() {
unalias systemd-detect-virt
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -768,4 +768,4 @@ function testDirSeparatorColorRootSubSubdirWorks() {
rm -fr /tmp/powerlevel9k-test
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -128,4 +128,4 @@ function testDiskUsageSegmentCriticalLevelCouldBeAdjusted() {
unfunction df
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -85,4 +85,4 @@ function testGoSegmentPrintsNothingIfGoIsNotAvailable() {
unalias go
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -228,4 +228,4 @@ inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
unfunction ip
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -101,4 +101,4 @@ function testKubeContextPrintsNothingIfKubectlNotAvailable() {
unalias kubectl
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -68,4 +68,4 @@ function testLaravelVersionSegmentPrintsNothingIfPhpIsNotAvailable() {
unalias php
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -146,4 +146,4 @@ function testLoadSegmentCriticalState() {
unalias nproc
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -38,4 +38,4 @@ function testNodeVersionSegmentWorks() {
unfunction node
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -96,4 +96,4 @@ function testNodeenvSegmentWorks() {
unset NODE_VIRTUAL_ENV
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -69,4 +69,4 @@ function testNvmSegmentPrintsNothingWhenOnDefaultVersion() {
assertEquals "%K{white} %F{black}world %k%F{white}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -39,4 +39,4 @@ Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
unalias php
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -219,4 +219,4 @@ function testPublicIpSegmentWhenGoingOnline() {
unfunction dig
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -63,4 +63,4 @@ function testRamSegmentWorksOnLinux() {
assertEquals "%K{yellow} %F{black%}RAM %f%F{black}0.29G " "$(prompt_ram left 1 false ${FOLDER})"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -48,4 +48,4 @@ function testRustPrintsNothingIfRustIsNotAvailable() {
assertEquals "%K{white} %F{black}world %k%F{white}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -77,4 +77,4 @@ function testSshSegmentWorksIfAllNecessaryVariablesAreSet() {
unset SSH_CLIENT
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -110,4 +110,4 @@ function testStatusSegmentIntegrated() {
assertEquals "%f%b%k%K{black} %F{red%}✘%f %k%F{black}%f " "${(e)PROMPT}"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -55,4 +55,4 @@ function testSwapSegmentWorksOnLinux() {
assertEquals "%K{yellow} %F{black%}SWP %f%F{black}0.95G " "$(prompt_swap left 1 false ${FOLDER})"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -54,4 +54,4 @@ function testSwiftSegmentWorks() {
unfunction swift
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -114,4 +114,4 @@ function testSymfonyVersionSegmentWorksInNestedFolder() {
unfunction php
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
View
@@ -55,4 +55,4 @@ function testTodoSegmentWorksAsExpected() {
assertEquals "%K{244} %F{black%}☑ %f%F{black}100 %k%F{grey50}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -375,4 +375,4 @@ function testShorteningCommitHashIsNotShownIfShowChangesetIsFalse() {
assertEquals "%K{green} %F{black} master %k%F{green}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -204,4 +204,4 @@ function testBookmarkIconWorks() {
assertEquals "%K{green} %F{black} default Binitial %k%F{green}%f " "$(build_left_prompt)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2
@@ -45,4 +45,4 @@ function testViInsertModeStringIsCustomizable() {
assertEquals "%K{black} %F{blue}INSERT " "$(prompt_vi_mode left 1 false)"
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

0 comments on commit 81fd69a

Please sign in to comment.