From 3b0c81ad8cd2b67e048a7ce5652cb31412d82f4e Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Sat, 21 Oct 2023 14:29:53 +0300 Subject: [PATCH] Fix typos --- CHANGELOG.md | 2 +- usage/usage_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ee19188..31ec3fa2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ ### 12.83.1 -* `[protip]` Disabling tips using environment vairable (`PROTIP=0`) +* `[protip]` Disabling tips using environment variable (`PROTIP=0`) ### 12.83.0 diff --git a/usage/usage_test.go b/usage/usage_test.go index dcc782d1..09a4b774 100644 --- a/usage/usage_test.go +++ b/usage/usage_test.go @@ -146,7 +146,7 @@ func (s *UsageSuite) TestUsage(c *C) { c.Assert(info.GetOption("u:unknown").String(), Equals, "") } -func (s *UsageSuite) TestDeattachedPrint(c *C) { +func (s *UsageSuite) TestDetachedPrint(c *C) { cmd := &Command{Name: "test", Desc: "Test command", ColorTag: "{#99}"} opt := &Option{Long: "test", Short: "T", Desc: "Test option", ColorTag: "{#99}"}