From 2a85f587d3109de5155f500c51042c6cd61dd18b Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 27 Feb 2022 15:44:18 -0500 Subject: [PATCH] Fix a typo in blorg test --- blorg/config_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/blorg/config_test.go b/blorg/config_test.go index 61e5749..979f875 100644 --- a/blorg/config_test.go +++ b/blorg/config_test.go @@ -14,7 +14,7 @@ func TestBlorg(t *testing.T) { t.Errorf("Could not read config: %s", err) return } - commitedHashBs, err := ioutil.ReadFile("testdata/public.md5") + committedHashBs, err := ioutil.ReadFile("testdata/public.md5") if err != nil { t.Errorf("Could not read hash bytes: %s", err) return @@ -28,7 +28,7 @@ func TestBlorg(t *testing.T) { t.Errorf("Could not hash PublicDir: %s", err) return } - rendered, committed := strings.TrimSpace(string(renderedHashBs)), strings.TrimSpace(string(commitedHashBs)) + rendered, committed := strings.TrimSpace(string(renderedHashBs)), strings.TrimSpace(string(committedHashBs)) if rendered != committed { t.Errorf("PublicDir hashes do not match: '%s' -> '%s'", committed, rendered) return