Skip to content

Commit

Permalink
feat: check the test fails correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonPaulGithub committed Mar 14, 2024
1 parent 661e824 commit 752ead7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -424,16 +424,16 @@ jobs:
exit 1
}
# echo "add the numbers 2 and 3"
"23" >> "./resources/test_doc.txt"
echo "add the values 2 and 3 to the test document"
"24" >> "./resources/test_doc.txt"
echo "upload the recently changed test document"
echo "Upload the recently changed test document"
cargo run --bin safe --release -- --log-output-dest=data-dir files upload "./resources/test_doc.txt" --retry-strategy quick
echo "download the test document"
echo "Download the test document"
cargo run --bin safe --release -- --log-output-dest=data-dir files download --retry-strategy quick
echo "fail the test if the document does not include the new numbers 2 and 3"
echo "Test if the document includes the new values 2 and 3"
$condition = Get-Content C:\Users\runneradmin\Downloads\safe_files\test_doc.txt | ForEach-Object {$_ -Replace "[^0-9]", ""}
if ( $condition -ne 123)
{
Expand Down

0 comments on commit 752ead7

Please sign in to comment.