Skip to content

Commit 5ae6732

Browse files
committed
cli: Strengthen generator parsing test
Signed-off-by: Colin Walters <[email protected]>
1 parent 2e8142b commit 5ae6732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/src/cli.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1126,7 +1126,7 @@ fn test_parse_generator() {
11261126
"/usr/lib/systemd/system/bootc-systemd-generator",
11271127
"/run/systemd/system"
11281128
]),
1129-
Opt::Internals(InternalsOpts::SystemdGenerator { .. })
1129+
Opt::Internals(InternalsOpts::SystemdGenerator { normal_dir, .. }) if normal_dir == "/run/systemd/system"
11301130
));
11311131
}
11321132

0 commit comments

Comments
 (0)