Skip to content
Myr

[Tests] add unit coverage for `nvm_version_greater_than_or_equal_to`

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Shrikant · committed by Jordan Harband · parent a27fb0b · Browse files · 1 file+8 added−0 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+8 added−0 removed

  • tests:+8 added−0 removed

1 file+8 added−0 removed

modified:test/fast/Unit tests/nvm_version_greater_than_or_equal_to+8 added
13 unmodified lines
14if nvm_version_greater_than_or_equal_to 0.10.0 0.20.12; then15 die '"nvm_version_greater_than_or_equal_to 0.10.0 0.20.12" returned true'16fi1718if nvm_version_greater_than_or_equal_to 0.2.12 0.10.0; then19 die '"nvm_version_greater_than_or_equal_to 0.2.12 0.10.0" returned true'20fi2122if nvm_version_greater_than_or_equal_to 0.10.0 ''; then23 die '"nvm_version_greater_than_or_equal_to" returned true with an empty argument'24fi2526if nvm_version_greater_than_or_equal_to '' 0.10.0; then27 die '"nvm_version_greater_than_or_equal_to" returned true with an empty first argument'28fi