mirror of
https://gitlab.com/TECHNOFAB/soonix.git
synced 2025-12-11 22:00:05 +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 {
|
default = devshell.mkShell {
|
||||||
imports = [soonix.devshellModule];
|
imports = [soonix.devshellModule];
|
||||||
packages = [
|
packages = [
|
||||||
pkgs.alejandra
|
|
||||||
pkgs.nil
|
pkgs.nil
|
||||||
(treefmt.mkWrapper pkgs {
|
(treefmt.mkWrapper pkgs {
|
||||||
programs = {
|
programs = {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
{
|
{
|
||||||
|
pkgs,
|
||||||
ntlib,
|
ntlib,
|
||||||
soonix,
|
soonix,
|
||||||
...
|
...
|
||||||
|
|
@ -42,6 +43,7 @@ in {
|
||||||
in
|
in
|
||||||
# sh
|
# sh
|
||||||
''
|
''
|
||||||
|
${ntlib.helpers.path [pkgs.gnugrep]}
|
||||||
${ntlib.helpers.scriptHelpers}
|
${ntlib.helpers.scriptHelpers}
|
||||||
assert "-f ${finalFiles}/out/test.json" "should exist"
|
assert "-f ${finalFiles}/out/test.json" "should exist"
|
||||||
assert_file_contains ${finalFiles}/out/test.json "soonix-test"
|
assert_file_contains ${finalFiles}/out/test.json "soonix-test"
|
||||||
|
|
@ -61,6 +63,7 @@ in {
|
||||||
in
|
in
|
||||||
# sh
|
# sh
|
||||||
''
|
''
|
||||||
|
${ntlib.helpers.path [pkgs.gnugrep]}
|
||||||
${ntlib.helpers.scriptHelpers}
|
${ntlib.helpers.scriptHelpers}
|
||||||
assert "-f ${shellHook}" "should exist"
|
assert "-f ${shellHook}" "should exist"
|
||||||
assert_file_contains ${shellHook} "gomplate"
|
assert_file_contains ${shellHook} "gomplate"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue