1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 00:00:06 +00:00

Update shunit2 to newest version

This commit is contained in:
Dominik Ritter 2018-08-04 17:34:52 +02:00
parent 518148383e
commit 81fd69ae98
40 changed files with 40 additions and 40 deletions

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

View file

@ -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

View file

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

View file

@ -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

View file

@ -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

View file

@ -39,4 +39,4 @@ function testIsSameColorDoesNotYieldNotEqualColorsTruthy() {
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

@ -470,4 +470,4 @@ function testAllIconsAreDefinedLikeInNerdfontCompleteMode() {
unset _ICONS_UNDER_TEST
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

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

View file

@ -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

View file

@ -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

View file

@ -58,4 +58,4 @@ function testAwsEbEnvSegmentWorksIfElasticBeanstalkEnvironmentIsSetInParentDirec
cd -
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

@ -75,4 +75,4 @@ function testBackgroundJobsSegmentWithVerboseMode() {
unfunction jobs
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -80,4 +80,4 @@ function testDetectVirtSegmentIfRootFsIsNotOnExpectedInode() {
unalias systemd-detect-virt
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

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

View file

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

View file

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

View file

@ -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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -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

View file

@ -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

View file

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

View file

@ -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

View file

@ -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 file

@ -77,4 +77,4 @@ function testSshSegmentWorksIfAllNecessaryVariablesAreSet() {
unset SSH_CLIENT
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

@ -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 file

@ -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

View file

@ -54,4 +54,4 @@ function testSwiftSegmentWorks() {
unfunction swift
}
source shunit2/source/2.1/src/shunit2
source shunit2/shunit2

View file

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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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