Skip to content

Commit 337874e

Browse files
Travis Davisoknozor
authored andcommitted
test: fixed test code
1 parent da56a4d commit 337874e

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

bats-tests/tom_home/dotfiles/bombadil.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dotfiles_dir = "dotfiles"
33
gpg_user_id = "[email protected]"
44

55
[settings]
6-
hooks = [ "echo Hello from bombadil" ]
6+
prehooks = [ "echo Hello from bombadil" ]
77
vars = [ "vars.toml"]
88

99
[settings.dots]

config_examples/bombadil.example.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ dotfiles_dir = "my_dotfiles"
33

44
[settings]
55
# Post install commands
6-
hooks = [ "sway reload" ]
6+
posthooks = [ "sway reload" ]
77

88
# Vars hold an array of paths to a toml file containing the variables to inject in your templatize dotfiles.
99
vars = [
@@ -17,4 +17,4 @@ vars = [
1717
[settings.dots]
1818
alacritty = { source = "alacritty", target = ".config/alacritty" }
1919
sway = { source = "sway", target = ".config/sway" }
20-
zsh = { source = "zsh/zshrc", target = ".zshrc" }
20+
zsh = { source = "zsh/zshrc", target = ".zshrc" }

tests/imports/import.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[settings]
22
vars = ["vars.toml"]
3-
hooks = ["echo hello"]
3+
prehooks = ["echo hello"]
44

55
[settings.dots]
66
maven = { source = "settings.xml", target = ".m2/setting.xml" }

0 commit comments

Comments
 (0)