diff --git a/src/courses/advanced/05.md b/src/courses/advanced/05.md index 7d7ba6c15..d06d0ab23 100644 --- a/src/courses/advanced/05.md +++ b/src/courses/advanced/05.md @@ -68,12 +68,12 @@ end # What is the latest commit describe command("git --git-dir #{git_dir} log -1 --pretty=format:'%h'") do - its('stdout') { should match /edc207f/ } + its('stdout') { should match /7a748c6/ } end # What is the second to last commit describe command("git --git-dir #{git_dir} log --skip=1 -1 --pretty=format:'%h'") do - its('stdout') { should match /8c30bff/ } + its('stdout') { should match /edc207f/ } end ``` @@ -103,9 +103,9 @@ Target ID: 6dcb9e6f-5ede-5474-9521-595fadf5c7ce Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git branch` ✔ stdout is expected to match /^\* main/ Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log -1 --pretty=format:'%h'` - ✔ stdout is expected to match /edc207f/ + ✔ stdout is expected to match /7a748c6/ Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log --skip=1 -1 --pretty=format:'%h'` - ✔ stdout is expected to match /8c30bff/ + ✔ stdout is expected to match /edc207f/ Test Summary: 5 successful, 0 failures, 0 skipped ``` @@ -317,9 +317,9 @@ Target ID: 6dcb9e6f-5ede-5474-9521-595fadf5c7ce Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git branch` ✔ stdout is expected to match /^\* main/ Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log -1 --pretty=format:'%h'` - ✔ stdout is expected to match /edc207f/ + ✔ stdout is expected to match /7a748c6/ Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log --skip=1 -1 --pretty=format:'%h'` - ✔ stdout is expected to match /8c30bff/ + ✔ stdout is expected to match /edc207f/ Test Summary: 4 successful, 1 failure, 0 skipped ``` @@ -385,9 +385,9 @@ Target ID: 6dcb9e6f-5ede-5474-9521-595fadf5c7ce × current_branch undefined method `current_branch' for #<#:0x00000000053fd0b8> Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log -1 --pretty=format:'%h'` - ✔ stdout is expected to match /edc207f/ - Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log --skip=1 -1 --pretty=format:'%h'` ✔ stdout is expected to match /8c30bff/ + Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log --skip=1 -1 --pretty=format:'%h'` + ✔ stdout is expected to match /7a748c6/ Test Summary: 6 successful, 1 failure, 0 skipped ``` @@ -444,7 +444,7 @@ Target ID: 6dcb9e6f-5ede-5474-9521-595fadf5c7ce ✔ branches is expected to include "testBranch" ✔ current_branch is expected to cmp == "main" Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log -1 --pretty=format:'%h'` - ✔ stdout is expected to match /edc207f/ + ✔ stdout is expected to match /7a748c6/ Command: `git --git-dir /workspaces/saf-training-lab-environment/git_test_target/.git log --skip=1 -1 --pretty=format:'%h'` ✔ stdout is expected to match /8c30bff/