1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-04 15:39:43 +00:00

fix tests

This commit is contained in:
deadc0de6
2020-01-21 09:10:45 +01:00
parent 53dfbc8aa3
commit 74ffe6a1b4

View File

@@ -105,7 +105,7 @@ _EOF
cat << _EOF > ${func_file3}
def func3(inp):
return "external"
return 42
_EOF
# create the dotfile
@@ -128,7 +128,7 @@ echo "{%@@ if func2(False) @@%}" >> ${tmps}/dotfiles/abc
echo "yes" >> ${tmps}/dotfiles/abc
echo "{%@@ endif @@%}" >> ${tmps}/dotfiles/abc
echo "{%@@ if func3("whatever") == "external" @@%}" >> ${tmps}/dotfiles/abc
echo "{%@@ if func3("whatever") == 42 @@%}" >> ${tmps}/dotfiles/abc
echo "externalok" >> ${tmps}/dotfiles/abc
echo "{%@@ endif @@%}" >> ${tmps}/dotfiles/abc