Commit Graph

21 Commits (3dddcf519d2df2164a918a9b64b71510633932b6)

Author SHA1 Message Date
Jason Hutchinson d2ecb38d60 add tests 8 years ago
Jason Hutchinson 55cf15ac41 test that go_segment prints nothing if GOPATH is not set 8 years ago
Jason Hutchinson 0519384d57 test that go_segment prints nothing if GOPATH is set but is not a subset of PWD 8 years ago
Jason Hutchinson ac3307400d update go mock to allow for both version and env sub-commands 8 years ago
Jason Hutchinson 192d634e08 ensure go_version segment prints if PWD is subset of non-empty GOPATH 8 years ago
Dominik Ritter 44eaa0ef33 Add tests for `truncate_with_package_name` strategy of dir segment
This is a backport from #344
8 years ago
Ben Hilburn 2f387376aa unittest: fixing space after branch indicator 8 years ago
Dominik Ritter 875dec5dae Merge branch 'next' into execution_time 8 years ago
Dominik Ritter a202537dd7 Refactor `command_execution_time` segment
- Change internal precision to nanoseconds
- Let the user decide about desired precision
- Add tests
8 years ago
Ben Hilburn 36d74f34c2 Merge branch 'next' into dir_first_character 8 years ago
Dominik Ritter edb51fcba3 Add tests for `command_execution_time` segment 8 years ago
Dominik Ritter 6e1259ee99 Remove unnecessary variable from tests 8 years ago
Dominik Ritter 8e99944797 Add test for truncate_with_folder_marker truncation strategy 8 years ago
Dominik Ritter b6e55c189e Add tests for omitting first character in `dir` segment 8 years ago
Dominik Ritter 3d451499aa Fix tests 8 years ago
Arav Singhal 8d7a4e462a Update test for required behavior 8 years ago
Dominik Ritter fa33902c00 Fix test 9 years ago
Dominik Ritter 3591099789 Add tests for dynamic color overriding of vcs segment 9 years ago
Dominik Ritter 3407494d7d Add tests for `go_version` 9 years ago
Dominik Ritter 490bafc868 Add tests for `rust_version` 9 years ago
Dominik Ritter 7cf46711cc Add tests for the dir segment 9 years ago