1
0
mirror of https://github.com/Llewellynvdm/starship.git synced 2024-06-01 08:00:51 +00:00
starship/src/modules
Thomas O'Donnell 762ad12698
test(docker_context): Add basic tests to module (#2205)
* test(docker_context): Add basic tests to module

This adds some basic tests to the docker_context module.

* PR suggestion
2021-01-26 22:46:17 +01:00
..
utils fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
aws.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
battery.rs feat(battery): make module behaviour more obvious (#1950) 2021-01-01 12:16:55 +01:00
character.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
cmake.rs fix(cmake): Fix spacing with missing variable (#2135) 2021-01-16 13:27:02 +01:00
cmd_duration.rs style: Latest clippy suggestions (#2048) 2021-01-01 12:45:04 -06:00
conda.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
crystal.rs perf(crystal): Lazily evaluate version command (#2129) 2021-01-13 18:35:44 +01:00
custom.rs perf(custom): evaluate command lazily (#2173) 2021-01-20 19:01:49 +01:00
dart.rs perf(dart): Lazy eval dart (#2166) 2021-01-20 18:56:18 +01:00
directory.rs feat(directory): Add home directory symbol (#2198) 2021-01-24 22:50:37 +01:00
docker_context.rs test(docker_context): Add basic tests to module (#2205) 2021-01-26 22:46:17 +01:00
dotnet.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
elixir.rs perf(elixir): evaluate version lazily (#2172) 2021-01-20 18:59:21 +01:00
elm.rs perf(elm): Lazy eval elm (#2167) 2021-01-20 18:49:26 +01:00
env_var.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
erlang.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
gcloud.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
git_branch.rs refactor: a few low-hanging optimizations (#1992) 2020-12-16 17:54:21 +01:00
git_commit.rs fix(git_commit): show last created tag on current commit (#1919) 2020-12-07 14:56:22 +01:00
git_state.rs fix: Applied clippy warnings (#2153) 2021-01-16 13:26:52 +01:00
git_status.rs refactor(git_status): simplify git status with once-cell (#2150) 2021-01-24 15:19:22 -05:00
golang.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
helm.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
hg_branch.rs feat: add error messaging (#1576) 2020-09-28 16:38:50 -04:00
hostname.rs fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
java.rs perf(java): Lazy eval java (#2168) 2021-01-20 18:51:30 +01:00
jobs.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
julia.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
kotlin.rs perf(kotlin): Lazy eval kotlin (#2186) 2021-01-21 23:01:30 +01:00
kubernetes.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
line_break.rs feat: Add timings subcommand (#1629) 2020-09-21 19:06:15 +02:00
lua.rs perf(lua): Lazy eval lua (#2185) 2021-01-21 23:00:12 +01:00
memory_usage.rs perf(memory_usage): replace sysinfo with sys-info (#1886) 2020-11-23 21:17:15 -05:00
mod.rs feat(kotlin): Add the kotlin module (#2026) 2020-12-26 15:26:50 +01:00
nim.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
nix_shell.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
nodejs.rs perf(nodejs): evaluate nodejs format string lazily (#2160) 2021-01-20 19:03:48 +01:00
ocaml.rs perf(ocaml): evaluate version lazily; adjust format string; update test (#2188) 2021-01-22 18:08:04 +01:00
openstack.rs test: avoid setting $HOME (#2155) 2021-01-19 23:23:27 +01:00
package.rs refactor: apply more clippy lints 2021-01-22 11:50:12 -05:00
perl.rs perf(perl): Lazy eval perl (#2189) 2021-01-22 18:07:03 +01:00
php.rs perf(php): Lazy eval php (#2190) 2021-01-22 18:03:18 +01:00
purescript.rs Perf(purescript): Lazy eval purescript (#2191) 2021-01-22 18:01:54 +01:00
python.rs perf(python): Lazy eval of python version command (#2158) 2021-01-20 18:42:55 +01:00
ruby.rs fix: Adjust default format strings (#2165) 2021-01-20 18:46:26 +01:00
rust.rs feat(rust): Support new rust-toolchain format (#1938) 2020-11-30 13:52:55 +01:00
shlvl.rs feat(shlvl): Add repeat option (#1995) 2020-12-14 15:40:21 -05:00
singularity.rs test: introduce env variable mocking (#1490) 2020-08-07 15:13:12 -04:00
status.rs feat(status): Convert known status code to their meaning (#1948) 2021-01-02 21:09:13 -06:00
swift.rs perf: evaluate swift version lazily (#2159) 2021-01-18 22:42:28 -06:00
terraform.rs feat(terraform): Add hcl extension support to Terraform module (#1875) 2020-11-14 18:33:21 +01:00
time.rs fix: apply nightly clippy & fmt suggestions (#1922) 2020-11-23 20:38:11 +01:00
username.rs fix(user): Fix username detection on Windows (#2014) 2020-12-26 13:27:10 +01:00
zig.rs perf(zig): Lazy eval zig (#2187) 2021-01-22 18:08:36 +01:00