diff --git a/source/utils/strings_test.go b/source/utils/strings_test.go index 90ea217f6a08cb4485d73866107d8a06400d803b..b500d1f068634e4826587176a891e5a93fe5024f 100644 --- a/source/utils/strings_test.go +++ b/source/utils/strings_test.go @@ -16,7 +16,7 @@ func TestMaskCodeBlocks(t *testing.T) { count int expected int }{ - {"/testing/asstes/code1.md", "code1.md", 3, 9}, + {"/testing/assets/code1.md", "code1.md", 3, 9}, } for _, table := range tables { @@ -24,7 +24,6 @@ func TestMaskCodeBlocks(t *testing.T) { p, _ := os.Getwd() p = filepath.Dir(p) // go to parent directory p = filepath.Dir(p) // go to parent directory - p = filepath.Dir(p) // go to parent directory p = filepath.Join(p, table.input) code, err := os.ReadFile(p) diff --git a/testing/asstes/code1.md b/testing/assets/code1.md similarity index 100% rename from testing/asstes/code1.md rename to testing/assets/code1.md