Yangyang Liu
CSE 15L Section B02
PID: A17360266
This lab report reproduces the task from the CSE 15L Spring 2023 Week 7 Lab.
Delete any existing forks of the repository on GitHub account with contents found here.
Fork the repository (from above).
Optional: Start a timer if you are timing yourself!

Keys pressed:
ssh <space> cs15lsp23mh@ieng6.ucsd.edu <enter>
ssh command (followed by an account) is needed to log in to ieng6.

Keys pressed:
git <space> clone <space> git@github.com:yal103/lab7.git <enter>
git clone command (followed by the GitHub repository link) clones the repository into the ieng6 account.<CTRL-C> and <CTRL-V> to copy and paste the repository SSH key: git@github.com:yal103/lab7.git.

Keys pressed:
cd <space> lab7 <enter>
lab7 directory
javac <space> -cp <space> .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar <space> *.java <enter>
java <space> -cp <space> .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar org.junit.runner.JUnitCore <space>
ListExamplesTests <space>
<CTRL-C> and <CTRL-V> to copy and paste the commands.
javac -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar *.java followed by <enter>java -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar org.junit.runner.JUnitCore ListExamplesTests followed by <enter>
ListExamples.java to fix the failing testKeys pressed:
vim <space> ListExamples.java <enter>
ListExamples.java using the built-in vim text editor.
/ange <enter> <down> r2 :wq <enter>
/ followed by a string (and <enter>) searches the file for the occurences of that string.ListExamples.java only has one occurrence of the strin ange (in the word change above the the needed change).
ange in the file.<down> shifts the terminal cursor to the 1 in the index1 that needs to be changed to index2.r followed by a character 2 changes the character highlighted by the terminal (1) into 2.
index1 is changed to index2.r2 does not change the mode to insert mode, not we do not need to press <esc>.:wq followed by <enter> saves and exits out of the vim text editor.


Keys pressed:
<up> <up> <up> <enter> , <up> <up> <up> <enter>
javac -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar *.java command was 3 up in my command history, so I used the up arrow to access it.java -cp .:lib/hamcrest-core-1.3.jar:lib/junit-4.13.2.jar org.junit.runner.JUnitCore ListExamplesTests command was 3 up in my command history, so I used the up arrow to access it.

Keys pressed:
git <space> add <spa(っ^▿^)ce> ListExamples.java <enter>
git <space> commit <space> -m <space> "Updated" <enter>
git <space> push <space> origin <space> main <enter>
git add, git commit, and git push commands commit and push the changes made to ListExamples.java to the GitHub repository.The file should be updated in the GitHub repository, which the commit message:

(っ^▿^)