Skip to content

Commit bef91bf

Browse files
committed
Fixes failing test
Error message for incorrect package name is different for miniforge.
1 parent 375db44 commit bef91bf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/tests.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ t_run "conda-containerize new conda_base.yml --prefix A_DIR_NO_EXE | grep ERROR"
6565

6666
mkdir CONDA_INSTALL_DIR
6767

68-
t_run "conda-containerize new conda_broken.yaml --prefix CONDA_INSTALL_DIR | tee conda_inst.out | grep 'ResolvePackageNotFound'" "Conda errors are propagated to the user"
68+
t_run "conda-containerize new conda_broken.yaml --prefix CONDA_INSTALL_DIR | tee conda_inst.out | grep 'ResolvePackageNotFound\|PackagesNotFoundError'" "Conda errors are propagated to the user"
6969
t_run "grep ERROR conda_inst.out" "Failed run contains error"
7070
t_run "grep INFO conda_inst.out" "Info is present"
7171
t_run "test -z \"\$(grep ' DEBUG ' conda_inst.out )\" " "Default no debug message"

0 commit comments

Comments
 (0)