-
-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor test functions and remove unused variables
- Remove the `runArgs` variable - Change the way `flag.CommandLine.Parse` is called - Modify the `TestBinCmdPath` function - Modify the `TestConfigWithRuntimeArgs` function - Modify the `TestCtrlCWhenHaveKillDelay` function - Modify the `include_file` value in the `TestCtrlCWhenHaveKillDelay` function - Modify the `include_file` value in the `TestConfigRuntimeArgs` function - Modify the `TestFlag` function - Modify the `TestConfigRuntimeArgs` function - Modify the `Test_killCmd_SendInterrupt_false` function - Modify the `bytesRead` variable in the `Test_killCmd_SendInterrupt_false` function Signed-off-by: Bo-Yi Wu <[email protected]>
- Loading branch information
Showing
5 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters