Update shunit2 to newest version

pull/22/head
Dominik Ritter 6 years ago
parent 518148383e
commit 81fd69ae98

@ -1 +1 @@
Subproject commit 60dd60bcd1573befe38465010263ab242e55811d Subproject commit 07bb3292048a4982aad7247bdd7890f2bf532ece

@ -59,4 +59,4 @@ function testColorOverridingOfCustomSegment() {
assertEquals "%K{red} %F{green%}CW %f%F{red}world %k%F{red}%f " "$(build_left_prompt)" 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 unalias php
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -101,4 +101,4 @@ function testPrefixingSecondLineOnLeftPrompt() {
assertEquals "╭─%f%b%k%K{white} %F{black}world1 %k%F{white}%f ${nl}XXX" "${(e)PROMPT}" 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)" 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 unset _ICONS_UNDER_TEST
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -106,4 +106,4 @@ function testSegmentShouldNotBeJoinedIfPredecessingSegmentIsNotJoinedButConditio
unset segments unset segments
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -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})" 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)" 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 - cd -
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -75,4 +75,4 @@ function testBackgroundJobsSegmentWithVerboseMode() {
unfunction jobs 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})" 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)" 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)" 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)" 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 unalias systemd-detect-virt
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -768,4 +768,4 @@ function testDirSeparatorColorRootSubSubdirWorks() {
rm -fr /tmp/powerlevel9k-test rm -fr /tmp/powerlevel9k-test
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -128,4 +128,4 @@ function testDiskUsageSegmentCriticalLevelCouldBeAdjusted() {
unfunction df unfunction df
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -85,4 +85,4 @@ function testGoSegmentPrintsNothingIfGoIsNotAvailable() {
unalias go unalias go
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -228,4 +228,4 @@ inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
unfunction ip unfunction ip
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -101,4 +101,4 @@ function testKubeContextPrintsNothingIfKubectlNotAvailable() {
unalias kubectl unalias kubectl
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -68,4 +68,4 @@ function testLaravelVersionSegmentPrintsNothingIfPhpIsNotAvailable() {
unalias php unalias php
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -146,4 +146,4 @@ function testLoadSegmentCriticalState() {
unalias nproc unalias nproc
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -38,4 +38,4 @@ function testNodeVersionSegmentWorks() {
unfunction node unfunction node
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -96,4 +96,4 @@ function testNodeenvSegmentWorks() {
unset NODE_VIRTUAL_ENV unset NODE_VIRTUAL_ENV
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -69,4 +69,4 @@ function testNvmSegmentPrintsNothingWhenOnDefaultVersion() {
assertEquals "%K{white} %F{black}world %k%F{white}%f " "$(build_left_prompt)" 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 unalias php
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -219,4 +219,4 @@ function testPublicIpSegmentWhenGoingOnline() {
unfunction dig unfunction dig
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -63,4 +63,4 @@ function testRamSegmentWorksOnLinux() {
assertEquals "%K{yellow} %F{black%}RAM %f%F{black}0.29G " "$(prompt_ram left 1 false ${FOLDER})" 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)" assertEquals "%K{white} %F{black}world %k%F{white}%f " "$(build_left_prompt)"
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -77,4 +77,4 @@ function testSshSegmentWorksIfAllNecessaryVariablesAreSet() {
unset SSH_CLIENT 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}" 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

@ -55,4 +55,4 @@ function testSwapSegmentWorksOnLinux() {
assertEquals "%K{yellow} %F{black%}SWP %f%F{black}0.95G " "$(prompt_swap left 1 false ${FOLDER})" 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 unfunction swift
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -114,4 +114,4 @@ function testSymfonyVersionSegmentWorksInNestedFolder() {
unfunction php unfunction php
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2

@ -55,4 +55,4 @@ function testTodoSegmentWorksAsExpected() {
assertEquals "%K{244} %F{black%}☑ %f%F{black}100 %k%F{grey50}%f " "$(build_left_prompt)" 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)" 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)" 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)" assertEquals "%K{black} %F{blue}INSERT " "$(prompt_vi_mode left 1 false)"
} }
source shunit2/source/2.1/src/shunit2 source shunit2/shunit2
Loading…
Cancel
Save