Skip to content

Commit

Permalink
lib.modules: fix test line using empty "$@" (#346677)
Browse files Browse the repository at this point in the history
  • Loading branch information
infinisil authored Oct 5, 2024
2 parents 4d0adea + f35a61d commit e32e37f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/tests/modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ checkConfigError 'A submoduleWith option is declared multiple times with conflic

# _type check
checkConfigError 'Expected a module, but found a value of type .*"flake".*, while trying to load a module into .*/module-imports-_type-check.nix' config.ok.config ./module-imports-_type-check.nix
checkConfigOutput '^true$' "$@" config.enable ./declare-enable.nix ./define-enable-with-top-level-mkIf.nix
checkConfigOutput '^true$' config.enable ./declare-enable.nix ./define-enable-with-top-level-mkIf.nix
checkConfigError 'Expected a module, but found a value of type .*"configuration".*, while trying to load a module into .*/import-configuration.nix.' config ./import-configuration.nix
checkConfigError 'please only import the modules that make up the configuration' config ./import-configuration.nix

Expand Down

0 comments on commit e32e37f

Please sign in to comment.