Skip to content

Commit

Permalink
jujutsu: adapt tests to the new config's placement
Browse files Browse the repository at this point in the history
  • Loading branch information
mrnossiom committed Apr 1, 2024
1 parent 0a90334 commit 754491b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/modules/programs/jujutsu/empty-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
test.stubs.jujutsu = { };

nmt.script = ''
assertPathNotExists home-files/.jjconfig.toml
assertPathNotExists home-files/.config/jj/config.toml
'';
}
4 changes: 2 additions & 2 deletions tests/modules/programs/jujutsu/example-config.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
};

nmt.script = ''
assertFileExists home-files/.jjconfig.toml
assertFileExists home-files/.config/jj/config.toml
assertFileContent \
home-files/.jjconfig.toml \
home-files/.config/jj/config.toml \
${
builtins.toFile "expected.toml" ''
[user]
Expand Down

0 comments on commit 754491b

Please sign in to comment.