From 3a411b7d37fa350470bed2b0bfdf59936126a033 Mon Sep 17 00:00:00 2001 From: ferhat elmas Date: Mon, 6 Mar 2017 23:23:07 +0100 Subject: [PATCH] test-without-stubs,exercises: Typo fixes - used https://github.com/client9/misspell --- bin/test-without-stubs | 2 +- exercises/beer-song/example.go | 2 +- exercises/binary-search/binary_search_test.go | 2 +- exercises/grade-school/grade_school_test.go | 2 +- exercises/minesweeper/minesweeper_test.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/test-without-stubs b/bin/test-without-stubs index 61d855baf..fde4d9c37 100755 --- a/bin/test-without-stubs +++ b/bin/test-without-stubs @@ -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 ./... diff --git a/exercises/beer-song/example.go b/exercises/beer-song/example.go index 811c3ecf8..ba7a65e0d 100644 --- a/exercises/beer-song/example.go +++ b/exercises/beer-song/example.go @@ -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) { diff --git a/exercises/binary-search/binary_search_test.go b/exercises/binary-search/binary_search_test.go index b7c5e1bf4..37f5947eb 100644 --- a/exercises/binary-search/binary_search_test.go +++ b/exercises/binary-search/binary_search_test.go @@ -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 diff --git a/exercises/grade-school/grade_school_test.go b/exercises/grade-school/grade_school_test.go index b14d4ca74..91e100b23 100644 --- a/exercises/grade-school/grade_school_test.go +++ b/exercises/grade-school/grade_school_test.go @@ -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) diff --git a/exercises/minesweeper/minesweeper_test.go b/exercises/minesweeper/minesweeper_test.go index ad15bc0be..394edcd6b 100644 --- a/exercises/minesweeper/minesweeper_test.go +++ b/exercises/minesweeper/minesweeper_test.go @@ -94,7 +94,7 @@ var validBoards = []string{ | | +-+`, - // 1x1 sqaure with 1 bomb + // 1x1 square with 1 bomb ` +-+ |*|