Skip to content

Commit

Permalink
Merge pull request #570 from ferhatelmas/typo-fixes
Browse files Browse the repository at this point in the history
test-without-stubs,exercises: Typo fixes
  • Loading branch information
ferhatelmas authored Mar 7, 2017
2 parents abf73a9 + 3a411b7 commit d3d548c
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
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

0 comments on commit d3d548c

Please sign in to comment.