forked from lix-project/nix-eval-jobs
apply treefmt
This commit is contained in:
parent
f970ec3524
commit
b267eb917d
|
@ -69,9 +69,17 @@ def test_expression() -> None:
|
|||
with open(TEST_ROOT.joinpath("assets/ci.nix"), "r") as ci_nix:
|
||||
common_test(["-E", ci_nix.read()])
|
||||
|
||||
|
||||
def test_eval_error() -> None:
|
||||
with TemporaryDirectory() as tempdir:
|
||||
cmd = [str(BIN), "--gc-roots-dir", tempdir, "--meta", "--flake", ".#legacyPackages.x86_64-linux"]
|
||||
cmd = [
|
||||
str(BIN),
|
||||
"--gc-roots-dir",
|
||||
tempdir,
|
||||
"--meta",
|
||||
"--flake",
|
||||
".#legacyPackages.x86_64-linux",
|
||||
]
|
||||
res = subprocess.run(
|
||||
cmd,
|
||||
cwd=TEST_ROOT.joinpath("assets"),
|
||||
|
|
Loading…
Reference in a new issue