File tree Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Expand file tree Collapse file tree 4 files changed +15
-15
lines changed Original file line number Diff line number Diff line change 1
- # Copyright (c) 2019-2021 , see AUTHORS. Licensed under MIT License, see LICENSE.
1
+ # Copyright (c) 2019-2024 , see AUTHORS. Licensed under MIT License, see LICENSE.
2
2
3
3
load lib
4
4
5
5
@test ' default config can be switched into' {
6
6
switch_to_default_config
7
7
8
- assert_command nix-on-droid nix-shell bash vi find
8
+ assert_command nix-on-droid nix-shell bash vim find
9
9
assert_no_command dash xonsh zsh
10
10
}
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2019-2021 , see AUTHORS. Licensed under MIT License, see LICENSE.
1
+ # Copyright (c) 2019-2024 , see AUTHORS. Licensed under MIT License, see LICENSE.
2
2
3
3
load lib
4
4
5
5
@test ' flake + h-m + #134 overlays case work' {
6
6
# assertions to verify initial state is as expected
7
- assert_command vi
7
+ assert_command vim
8
8
assert_no_command dash zsh
9
9
10
10
# set up / build / activate the configuration
@@ -21,10 +21,10 @@ load lib
21
21
22
22
# test that both zsh (system) and dash (user) have appeared in $PATH
23
23
assert_command dash zsh
24
- assert_no_command vi
24
+ assert_no_command vim
25
25
26
26
# check that reverting works too
27
27
switch_to_default_config
28
- assert_command vi
28
+ assert_command vim
29
29
assert_no_command dash zsh
30
30
}
Original file line number Diff line number Diff line change 1
- # Copyright (c) 2019-2022 , see AUTHORS. Licensed under MIT License, see LICENSE.
1
+ # Copyright (c) 2019-2024 , see AUTHORS. Licensed under MIT License, see LICENSE.
2
2
3
3
load lib
4
4
@@ -7,7 +7,7 @@ function flake_example() {
7
7
local flake_file_name=" $2 "
8
8
9
9
# assertions to verify initial state is as expected
10
- assert_command vi
10
+ assert_command vim
11
11
assert_no_command unzip
12
12
13
13
# set up / build / activate the configuration
@@ -26,13 +26,13 @@ function flake_example() {
26
26
# test presence of several crucial commands
27
27
assert_command nix-on-droid nix-shell bash
28
28
29
- # test that nano has replaced vi and unzip has appeared in $PATH
29
+ # test that nano has replaced vim and unzip has appeared in $PATH
30
30
assert_command nano unzip
31
- assert_no_command vi
31
+ assert_no_command vim
32
32
33
33
# check that reverting works too
34
34
switch_to_default_config
35
- assert_command vi
35
+ assert_command vim
36
36
assert_no_command unzip
37
37
}
38
38
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ teardown() {
16
16
17
17
@test ' using home-manager works' {
18
18
# assertions to verify initial state is as expected
19
- assert_command vi
19
+ assert_command vim
20
20
assert_no_command dash
21
21
[[ ! -e ~ /.config/example ]]
22
22
@@ -33,8 +33,8 @@ teardown() {
33
33
# test common commands presence
34
34
assert_command nix-on-droid nix-shell bash
35
35
36
- # test that vi has disappeared
37
- assert_no_command vi
36
+ # test that vim has disappeared
37
+ assert_no_command vim
38
38
39
39
# test dash has appeared and works
40
40
assert_command dash
@@ -44,7 +44,7 @@ teardown() {
44
44
45
45
# check that reverting works too
46
46
switch_to_default_config
47
- assert_command vi
47
+ assert_command vim
48
48
assert_no_command unzip
49
49
50
50
# file will be still present because home-manager needs to be set up to remove old links
You can’t perform that action at this time.
0 commit comments