This repository has been archived by the owner on Jul 12, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the error test cases to the env commands.
Close #981
How to verify it
Checking the env command test workflow.
Changelog
Add error test cases to env commands
This pull request generated the following artifacts.
To test the health and quality of this implementation, download the respective binary for your operating system, unzip and directly run the binary like the examples below.
Windows
Download the file: rit-windows.zip
Unzip to some folder like:
C:\home\user\downloads\pr1054
Access the folder:
cd C:\home\user\downloads\pr1054
Directly call the binary:
.\rit.exe --version
or.\rit.exe name of formula
Linux
Download the file: rit-linux.zip
Unzip to some folder like:
/home/user/downloads/pr1054
Access the folder:
cd /home/user/downloads/pr1054
Assign execute permission to binary:
chmod +x ./rit
Directly call the binary:
./rit --version
or./rit name of formula
MacOS
Download the file: rit-macos.zip
Unzip to some folder like:
/home/user/downloads/pr1054
Access the folder:
cd /home/user/downloads/pr1054
Assign execute permission to binary:
chmod +x ./rit
Directly call the binary:
./rit --version
or./rit name of formula