nixpkgs/lib/tests
Profpatsch 582354d3b6 lib/cli: encodeGNUCommandLine -> toGNUCommandLineShell
The semantic difference between `encode` and `to` is not apparent.
Users are likely to confuse both functions (which leads to unexpected
error messages about the wrong types). Like in `generators.nix`, all
functions should be prefixed by `to`.

Furthermore, converting to a string depends on the target context. In
this case, it’s a POSIX shell, so we should name it that (compare
`escapeShellArg` in `strings.nix`).

We can later add versions that escape for embedding in e.g. python
scripts or similar.
2020-01-23 14:47:38 +01:00
..
modules lib/tests: Add tests for attrsOf and lazyAttrsOf 2020-01-10 16:20:31 +01:00
check-eval.nix lib/tests: Add check-eval.nix to run simple tests. 2018-03-04 06:28:49 -05:00
misc.nix lib/cli: encodeGNUCommandLine -> toGNUCommandLineShell 2020-01-23 14:47:38 +01:00
modules.sh Merge pull request #76861 from Infinisil/paths-as-submodules 2020-01-12 14:19:04 +01:00
release.nix make-tarball / lib-tests: reduce duplication 2019-07-11 18:02:05 +02:00
systems.nix Fix lib tests 2019-11-25 14:09:50 +00:00