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