Skip to content

Commit

Permalink
tests: update fixtures
Browse files Browse the repository at this point in the history
ryan-gang committed May 24, 2024
1 parent e24e05e commit 5aa0712
Showing 2 changed files with 18 additions and 10 deletions.
14 changes: 9 additions & 5 deletions internal/test_helpers/fixtures/base/pass
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@ Debug = true
[stage-8] Running tests for Stage #8: ip1
[stage-8] Running ./your_shell.sh
[your-program] $
[stage-8] > ./my_exe
[stage-8] > /tmp/pear/banana/blueberry/my_exe David
[your-program] Hello David! The secret code is 384215.
[stage-8] ✓ Received expected response
[your-program] $
@@ -62,12 +62,12 @@ Debug = true
[stage-5] Running tests for Stage #5: iz3
[stage-5] Running ./your_shell.sh
[your-program] $
[stage-5] > echo strawberry apple pear
[your-program] strawberry apple pear
[stage-5] > echo strawberry apple
[your-program] strawberry apple
[stage-5] ✓ Received expected response
[your-program] $
[stage-5] > echo blueberry mango
[your-program] blueberry mango
[stage-5] > echo orange strawberry blueberry
[your-program] orange strawberry blueberry
[stage-5] ✓ Received expected response
[your-program] $
[stage-5] Test passed.
@@ -101,6 +101,10 @@ Debug = true
[your-program] bash: invalid_command_3: command not found
[stage-3] ✓ Received command not found message
[your-program] $
[stage-3] > invalid_command_4
[your-program] bash: invalid_command_4: command not found
[stage-3] ✓ Received command not found message
[your-program] $
[stage-3] Test passed.

[stage-2] Running tests for Stage #2: cz2
14 changes: 9 additions & 5 deletions internal/test_helpers/fixtures/navigation/pass
Original file line number Diff line number Diff line change
@@ -73,7 +73,7 @@ Debug = true
[stage-8] Running tests for Stage #8: ip1
[stage-8] Running ./your_shell.sh
[your-program] $
[stage-8] > ./my_exe
[stage-8] > /tmp/grape/banana/mango/my_exe David
[your-program] Hello David! The secret code is 498493.
[stage-8] ✓ Received expected response
[your-program] $
@@ -132,12 +132,16 @@ Debug = true
[stage-5] Running tests for Stage #5: iz3
[stage-5] Running ./your_shell.sh
[your-program] $
[stage-5] > echo pineapple orange raspberry
[your-program] pineapple orange raspberry
[stage-5] > echo banana apple
[your-program] banana apple
[stage-5] ✓ Received expected response
[your-program] $
[stage-5] > echo raspberry orange
[your-program] raspberry orange
[stage-5] > echo pineapple raspberry apple
[your-program] pineapple raspberry apple
[stage-5] ✓ Received expected response
[your-program] $
[stage-5] > echo grape pear strawberry
[your-program] grape pear strawberry
[stage-5] ✓ Received expected response
[your-program] $
[stage-5] Test passed.

0 comments on commit 5aa0712

Please sign in to comment.