nushell/tests
Matteo Bertini 219b7e64cd Use shellexpand to expand ~ in external commands
Add tests for ~tilde expansion:

- test that "~" is expanded (no more "~" in output)
- ensure that "1~1" is not expanded to "1/home/user1" as it was
  before

Fixes #972

Note: the first test does not check the literal expansion because
the path on Windows is expanded as a Linux path, but the correct
expansion may come for free once `shellexpand` will use the `dirs`
crate too (https://github.com/netvl/shellexpand/issues/3).
2019-12-13 11:54:41 +01:00
..
fixtures Add from_xlsx for importing excel files 2019-11-17 16:18:41 +13:00
helpers Remove unused Display implementations 2019-11-25 10:07:20 -08:00
command_cd_tests.rs Filesystem shell can't cd into files. Ever. 2019-09-24 15:34:30 -05:00
command_config_test.rs Stream support (#812) 2019-10-13 17:12:43 +13:00
command_cp_tests.rs Trim trailing whitespace and set it in editorconfig 2019-09-03 02:52:52 +02:00
command_enter_test.rs Cover failure not found files cases. 2019-10-22 08:08:24 -05:00
command_get_tests.rs Clean up feature build flags. 2019-11-22 03:11:36 -05:00
command_ls_tests.rs Move off 'sum' to internal command 'count' for tests. 2019-10-15 05:16:47 -05:00
command_mkdir_tests.rs Readability improvement. 2019-08-29 01:31:56 -05:00
command_mv_tests.rs run rustfmt 2019-09-11 10:36:50 -04:00
command_open_tests.rs --no-edit 2019-11-21 14:22:32 -08:00
command_rm_tests.rs run rustfmt 2019-09-11 10:36:50 -04:00
commands_test.rs add tests for range + run rustfmt 2019-12-03 08:24:49 +01:00
external_tests.rs Use shellexpand to expand ~ in external commands 2019-12-13 11:54:41 +01:00
filter_inc_tests.rs run rustfmt 2019-09-11 10:36:50 -04:00
filter_str_tests.rs improve duration print 2019-12-02 11:02:58 -08:00
filter_where_tests.rs Add =~ and !~ operators on strings 2019-11-25 15:06:11 -05:00
filters_test.rs Merge pull request #1049 from andrasio/embed-list 2019-12-03 02:51:58 -05:00
tests.rs Add format command 2019-11-10 13:14:59 +13:00