-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add matchRegex option to cleaner_config.json * Enhance file removal tests: Add support for regex matching and update test cases * Add MatchRegex option to Config and update file removal logic to support regex patterns * Add matchRegex option to README configuration example * Update setup_test_env.sh to include additional files for regex removal testing * Add test script to set up and run the test environment
- Loading branch information
1 parent
3eb427a
commit 8402c1e
Showing
6 changed files
with
76 additions
and
98 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
|
||
# Create Setup Test Environment | ||
echo "Setting up Test Environment" | ||
./setup_test_env.sh | ||
|
||
# Run the main script | ||
echo "Running Test Script" | ||
go run main.go test_project | ||
|
||
# Clean up the test environment | ||
echo "Cleaning up Test Environment" | ||
rm -rf test_project | ||
rm cleaned_source.txt | ||
|
||
# Done | ||
echo "Test Completed" |