Skip to content

Commit

Permalink
~ fix tests #2
Browse files Browse the repository at this point in the history
  • Loading branch information
hemnstill committed Nov 21, 2023
1 parent 4308b78 commit 4c11d20
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
10 changes: 6 additions & 4 deletions poetry/test_linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,12 @@ test_version_plugins() {
Dependencies
- poetry (>=1.2.0,<2.0.0)
• poetry-plugin-export (1.4.0) Poetry plugin to export the dependencies to various formats
• poetry-plugin-export (1.6.0) Poetry plugin to export the dependencies to various formats
1 application plugin
Dependencies
- poetry (>=1.5.0,<2.0.0)
- poetry-core (>=1.6.0,<2.0.0)" "$(../bin/poetry.sh self show plugins)"
- poetry (>=1.6.0,<2.0.0)
- poetry-core (>=1.7.0,<2.0.0)" "$(../bin/poetry.sh self show plugins)"
}

test_install_from_symlink() {
Expand All @@ -74,7 +74,9 @@ test_install_from_sh() {

assertEquals "Installing dependencies from lock file
No dependencies to install or update" "$(../bin/poetry.sh install)"
No dependencies to install or update
Installing the current project: StandaloneTools (1.0.0)" "$(../bin/poetry.sh install --no-root)"
}

# Load and run shUnit2.
Expand Down
4 changes: 3 additions & 1 deletion poetry/test_windows.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ test_install_from_bat() {

assertEquals "Installing dependencies from lock file
No dependencies to install or update" "$(../bin/poetry.bat install | dos2unix)"
No dependencies to install or update
Installing the current project: StandaloneTools (1.0.0)" "$(../bin/poetry.bat install --no-root | dos2unix)"
}

# Load and run shUnit2.
Expand Down

0 comments on commit 4c11d20

Please sign in to comment.