Dominik Ritter
40e04e053c
Parse IPs properly
...
This is done if we want to show a public IP, internal IP, or a VPN.
In the VPN case, what we actually want is to display an indicator
that a VPN is active, instead of the VPN IP itself. We parse the
IP here anyway, because we want to save some specific code there.
2019-02-03 19:20:14 +01:00
Dominik Ritter
747b94b1b6
Match VPN interface fuzzy on Linux
2019-01-23 19:10:46 +01:00
Dominik Ritter
bde4337992
Match VPN Interface fuzzy
2019-01-23 18:56:07 +01:00
Dominik Ritter
54a985cb11
Simplify code that checks if a VPN is running
2019-01-23 01:02:42 +01:00
Dominik Ritter
480ade162b
Improve tests
2019-01-23 01:01:49 +01:00
Dominik Ritter
32d3216bde
Fix tests
2019-01-22 19:18:09 +01:00
Dominik Ritter
9b73c8bd9c
Add tests
2019-01-21 19:46:53 +01:00
Matthew Judy
6df2ba0ae0
Port git submodule test from next
.
2018-11-17 17:41:55 -05:00
Dominik Ritter
724781e896
Merge pull request #1065 from dritter/protect_locale
...
Protect locale
2018-11-17 01:39:38 +01:00
Dominik Ritter
a72a82b4b1
Fix tests
2018-11-16 22:21:49 +01:00
Dominik Ritter
24818eff79
Fix test
...
The branch name must not be expanded.
2018-11-16 22:20:21 +01:00
Dominik Ritter
1b7e41964c
Fix configuration errors in the tests
2018-11-16 22:20:08 +01:00
Dominik Ritter
7bc5366af1
Add tests for branch name vulnerability
2018-11-16 22:15:35 +01:00
Dominik Ritter
4ebb9f92a1
Ensure that LC_CTYPE IS NOT overwritten by P9K
2018-11-14 23:27:05 +01:00
Dominik Ritter
6cfe8f8d96
Add test for detecting untracked files from sibling folder
2018-11-12 00:37:34 +01:00
Dominik Ritter
9d84e6fb6a
Add tests for complex git submodule scenarios
2018-11-03 03:45:05 +01:00
Dominik Ritter
44b4b66925
Speedup VCS segment
...
Now the untracked files are detected via `git ls-files`, which is
much faster than `git status`. Additionally, we flipped the default
for checking submodules. They are now NOT checked by default, as most
users probably do not use git submodules.
2018-11-03 03:21:47 +01:00
Dominik Ritter
d831f12126
Do not throw away users configuration
2018-10-12 22:04:02 +02:00
Dominik Ritter
d1cd83bf0b
Fix tests
...
It seems like Travis changed their infrastructure. We
need to unset SSH_TTY and SSH_CLIENT to get the tests
working again.
2018-10-12 21:50:25 +02:00
Dominik Ritter
94897a40f0
Fix tests
2018-09-05 19:07:25 +02:00
Dominik Ritter
df0c2198a0
Fix tests
2018-08-17 18:53:26 +02:00
Dominik Ritter
7a1319c2d9
Add tests for color comparisons with none colors
2018-08-10 00:47:20 +02:00
Dominik Ritter
a0d57bc455
Add test for bright colors
2018-08-09 08:11:19 +02:00
Dominik Ritter
e0630d7573
Merge branch 'fix_colors' into prepare_066
2018-08-09 00:28:50 +02:00
Dominik Ritter
ef5f9bb1b4
Fix tests
2018-08-08 23:47:01 +02:00
Dominik Ritter
c7e543ff23
Merge branch 'fix_colors' into prepare_066
2018-08-08 02:03:03 +02:00
Dominik Ritter
057b07b214
Fix tests
2018-08-08 01:01:14 +02:00
Dominik Ritter
e970a021c8
Fix tests
2018-08-08 00:42:42 +02:00
Dominik Ritter
aca20ae463
Merge branch 'add_tests' into prepare_066
2018-08-06 00:17:23 +02:00
Dominik Ritter
ba353caa98
Fix tests for context segment
2018-08-05 22:40:39 +02:00
Dominik Ritter
e7cbcc5187
Fix tests
2018-08-04 22:57:06 +02:00
Dominik Ritter
81fd69ae98
Update shunit2 to newest version
2018-08-04 17:34:52 +02:00
Dominik Ritter
518148383e
Fix Test for context segment
...
This fixes an error on travis, because there is no sudo allowed. We
could allow it, but I think it is better to mock sudo anyway.
2018-07-31 01:02:24 +02:00
Dominik Ritter
3b0397d1a6
Fix test for background_jobs segment
2018-07-25 07:58:38 +02:00
Dominik Ritter
06de83cc0f
Prepare tests for performance optimizations
2018-07-25 07:52:06 +02:00
Dominik Ritter
99f0eddd62
Add tests for nerdfont-complete icons
2018-07-24 16:34:10 +02:00
Dominik Ritter
4972f0b8eb
Improve tests by making use of local variables
2018-07-24 16:24:33 +02:00
Dominik Ritter
17229ddad7
Add tests for general prompt functionality
2018-07-21 00:01:21 +02:00
Dominik Ritter
f6087199f9
Add tests for visual identifier
2018-07-20 22:12:18 +02:00
Dominik Ritter
a8d7cee786
Add tests for joining segments
2018-07-20 19:15:40 +02:00
Dominik Ritter
16e5e14af7
Fix tests on older ZSH versions
2018-07-19 22:39:19 +02:00
Dominik Ritter
4b32b2c0b2
Fix tests
2018-07-19 22:25:15 +02:00
Dominik Ritter
2fa2e7560f
Remove vcs.spec
...
There are now specific tests for git and hg
2018-07-19 21:49:06 +02:00
Dominik Ritter
7bfa471e41
Fix tests for dir segment on OSX
2018-07-19 21:47:29 +02:00
Dominik Ritter
cf353f5660
Add tests for color overriding
2018-07-19 08:15:50 +02:00
Dominik Ritter
7a7b4ee13a
Merge remote-tracking branch 'ben/master' into add_tests
2018-07-19 07:44:16 +02:00
Dominik Ritter
a5d9227fcb
Add tests for vi_mode segment
2018-07-19 07:42:47 +02:00
Dominik Ritter
d13410d38c
Fix tests for nvm segment
2018-07-19 07:40:58 +02:00
Dominik Ritter
aa5e9ccc3b
Add tests for vcs (hg) segment
2018-07-18 22:28:28 +02:00
Dominik Ritter
ad0c9a6802
Add tests for vcs (git) segment
2018-07-18 22:28:08 +02:00