Skip to content

Commit

Permalink
Fix test cases
Browse files Browse the repository at this point in the history
962df463a29e6b4d6000a55e2cbcf03bc0595756
  • Loading branch information
nivcertora committed Jan 21, 2025
1 parent f779544 commit 32a00c7
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 6 deletions.
1 change: 0 additions & 1 deletion test_delete/test_file_20250121134538.txt

This file was deleted.

1 change: 0 additions & 1 deletion test_delete/test_file_20250121134758.txt

This file was deleted.

1 change: 0 additions & 1 deletion test_delete/test_file_20250121135221_mix.txt

This file was deleted.

2 changes: 1 addition & 1 deletion tests/mixed_addition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ git clean -fd
# Create mixed branch, add files, and push
mixed_branch="${BRANCH_PREFIX}-${DATE}"
feature_file="feature_file_${DATE}_mix.txt"
test_file="test_delete/test_file_${DATE}_mix.txt"
test_file="tests_delete/test_file_${DATE}_mix.txt"

echo "Creating branch: $mixed_branch"
git checkout -b $mixed_branch
Expand Down
4 changes: 2 additions & 2 deletions tests/test_addition.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ git clean -fd

# Create test branch, add test file, and push
test_branch="${BRANCH_PREFIX}-${DATE}"
test_file="test_delete/test_file_${DATE}.txt"
test_file="tests_delete/test_file_${DATE}.txt"

echo "Creating branch: $test_branch"
git checkout -b $test_branch
Expand All @@ -33,4 +33,4 @@ echo "Opening a PR for branch: $test_branch"
gh pr create --base $MAIN_BRANCH --head $test_branch --title "Add test file" --body "This PR adds a test file under test_delete."

echo "Merging the PR..."
gh pr merge --squash --delete-branch --auto
gh pr merge --squash --delete-branch

0 comments on commit 32a00c7

Please sign in to comment.