mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2025-12-10 21:30:06 +01:00
test: fix grep not being found
This commit is contained in:
parent
93b282cd27
commit
0ebe0da944
2 changed files with 3 additions and 1 deletions
|
|
@ -9,7 +9,6 @@ in {
|
|||
default = devshell.mkShell {
|
||||
imports = [soonix.devshellModule];
|
||||
packages = [
|
||||
pkgs.alejandra
|
||||
pkgs.nil
|
||||
(treefmt.mkWrapper pkgs {
|
||||
programs = {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
pkgs,
|
||||
ntlib,
|
||||
soonix,
|
||||
...
|
||||
|
|
@ -42,6 +43,7 @@ in {
|
|||
in
|
||||
# sh
|
||||
''
|
||||
${ntlib.helpers.path [pkgs.gnugrep]}
|
||||
${ntlib.helpers.scriptHelpers}
|
||||
assert "-f ${finalFiles}/out/test.json" "should exist"
|
||||
assert_file_contains ${finalFiles}/out/test.json "soonix-test"
|
||||
|
|
@ -61,6 +63,7 @@ in {
|
|||
in
|
||||
# sh
|
||||
''
|
||||
${ntlib.helpers.path [pkgs.gnugrep]}
|
||||
${ntlib.helpers.scriptHelpers}
|
||||
assert "-f ${shellHook}" "should exist"
|
||||
assert_file_contains ${shellHook} "gomplate"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue