1
0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-12-12 19:18:28 +02:00
Commit Graph

115 Commits

Author SHA1 Message Date
Matthew Judy
6df2ba0ae0 Port git submodule test from next. 2018-11-17 17:41:55 -05: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
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
df0c2198a0 Fix tests 2018-08-17 18:53:26 +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
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
4972f0b8eb Improve tests by making use of local variables 2018-07-24 16:24:33 +02:00
Dominik Ritter
16e5e14af7 Fix tests on older ZSH versions 2018-07-19 22:39:19 +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
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
Dominik Ritter
0d4004ef19 Add tests for todo segment 2018-07-18 22:27:44 +02:00
Dominik Ritter
84f327bd60 Add tests for symfony_version segment 2018-07-18 22:27:23 +02:00
Dominik Ritter
78e03a5fe6 Add tests for swift segment 2018-07-18 22:27:03 +02:00
Dominik Ritter
af31b2de9b Add tests for swap segment 2018-07-18 22:26:39 +02:00
Dominik Ritter
e51faa0af1 Add tests for ssh segment 2018-07-18 22:25:35 +02:00
Dominik Ritter
cc31a05c52 Add test for ram segment 2018-07-18 22:25:06 +02:00
Dominik Ritter
1e71d452e1 Add tests for public_ip segment 2018-07-18 22:23:32 +02:00
Dominik Ritter
e95f84a55d Add tests for php_version segment 2018-07-18 22:23:12 +02:00
Dominik Ritter
084f992fab Add tests for nvm segment 2018-07-18 22:22:17 +02:00
Dominik Ritter
44ec267dfb Add tests for nodeenv segment 2018-07-18 22:21:48 +02:00
Dominik Ritter
85cc62b72b Add tests for node_version segment 2018-07-18 22:21:27 +02:00
Dominik Ritter
2efbd7e188 Add tests for load segment 2018-07-18 22:20:50 +02:00
Dominik Ritter
1cf68e418c Add tests for ip segment 2018-07-18 22:19:14 +02:00
Dominik Ritter
a757607476 Add tests for disk_usage segment 2018-07-18 22:16:40 +02:00
Dominik Ritter
edfd4732f2 Add tests for detect_virt segment 2018-07-18 22:15:57 +02:00
Dominik Ritter
829c7ceaae Add tests for custom segment 2018-07-18 22:13:52 +02:00
Dominik Ritter
743ddc1253 Add tests for context segment 2018-07-18 22:11:51 +02:00
Dominik Ritter
d9b3edf0e8 Fix go_version test 2018-07-16 22:16:41 +02:00
Dominik Ritter
802af322ff Add tests for battery segment
Additionally
- Add a fourth parameter to prompt_battery for better testability. This
  parameter is the root prefix, so we can use our own test batteries.
2018-07-16 20:48:27 +02:00