Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test-without-stubs,exercises: Typo fixes #570

Merged
merged 1 commit into from
Mar 7, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bin/test-without-stubs
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,6 @@ fi

# This is the last command in the file,
# so the exit status of this script is the exit status of go test.
# If this ever changes, remember to preserve the exit status acordingly.
# If this ever changes, remember to preserve the exit status accordingly.
# Otherwise Travis may falsely report a test as passed when it has failed.
go test -cpu 2 $RACE ./...
2 changes: 1 addition & 1 deletion exercises/beer-song/example.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func Song() (result string) {
return
}

// Verses returns an exerpt of the lyrics of 99 bottles of beer
// Verses returns an excerpt of the lyrics of 99 bottles of beer
// between verse start and stop. The verse numbers count backwards, so the
// first verse sung will be verse 99, and the last will be verse 0
func Verses(start, stop int) (string, error) {
Expand Down
2 changes: 1 addition & 1 deletion exercises/binary-search/binary_search_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// with the exercise README.
//
// * If there are duplicate values of the key you are searching for, you can't
// just stop at the first one you find; you must find the first occurance in
// just stop at the first one you find; you must find the first occurrence in
// the slice.
//
// * There is no special "not found" indication. If the search key is not
Expand Down
2 changes: 1 addition & 1 deletion exercises/grade-school/grade_school_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ func TestNonExistantGrade(t *testing.T) {
s := New()
got := s.Grade(1)
if len(got) != 0 {
t.Errorf(`Get non-existant grade, got
t.Errorf(`Get non-existent grade, got
%q
expected
[]`, got)
Expand Down
2 changes: 1 addition & 1 deletion exercises/minesweeper/minesweeper_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var validBoards = []string{
| |
+-+`,

// 1x1 sqaure with 1 bomb
// 1x1 square with 1 bomb
`
+-+
|*|
Expand Down