Skip to content

Commit

Permalink
(chore) Fix test comment typos
Browse files Browse the repository at this point in the history
Signed-off-by: Drew Robinson <[email protected]>
  • Loading branch information
ocean committed Dec 27, 2024
1 parent fbd96b2 commit a45e051
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ahoy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ func TestGetConfig(t *testing.T) {
testYaml, err := yaml.Marshal(expected)

if err != nil {
t.Error("Something went wrong mashalling the test object.")
t.Error("Something went wrong marshalling the test object.")
}

testFile.Write([]byte(testYaml))
Expand All @@ -199,11 +199,11 @@ func TestGetConfig(t *testing.T) {
}

if config.Usage != expected.Usage {
t.Errorf("Expected config.Usage to be %s, but actaul is %s", expected.Usage, config.Usage)
t.Errorf("Expected config.Usage to be %s, but actual is %s", expected.Usage, config.Usage)
}

if config.Commands["test-command"].Cmd != expected.Commands["test-command"].Cmd {
t.Errorf("Expected config.Commands['test-command'].cmd to be %s, but actaul is %s", expected.Commands["test-command"].Cmd, config.Commands["test-command"].Cmd)
t.Errorf("Expected config.Commands['test-command'].cmd to be %s, but actual is %s", expected.Commands["test-command"].Cmd, config.Commands["test-command"].Cmd)
}

testFile.Close()
Expand Down

0 comments on commit a45e051

Please sign in to comment.