From b809e57cf4b8eb9670e17251d2472cfc5d338fa7 Mon Sep 17 00:00:00 2001 From: Dor Lasri Date: Wed, 26 May 2021 17:51:49 +0300 Subject: [PATCH] coding conventions and spelling fixes. (#881) TestTrigraph -> TestTriGraph TestMultifileTranspilation -> TestMultiFileTranspilation subfolders -> sub folders --- main_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main_test.go b/main_test.go index 40ee27be5..b8255cc51 100644 --- a/main_test.go +++ b/main_test.go @@ -77,7 +77,7 @@ func TestIntegrationScripts(t *testing.T) { cProgram := programOut{} goProgram := programOut{} - // create subfolders for test + // create sub folders for test subFolder := buildFolder + separator + strings.Split(file, ".")[0] + separator cPath := subFolder + cFileName @@ -340,7 +340,7 @@ func TestStartPreprocess(t *testing.T) { } } -func TestMultifileTranspilation(t *testing.T) { +func TestMultiFileTranspilation(t *testing.T) { tcs := []struct { source []string expectedOutput string @@ -396,7 +396,7 @@ func TestMultifileTranspilation(t *testing.T) { } } -func TestTrigraph(t *testing.T) { +func TestTriGraph(t *testing.T) { var args = DefaultProgramArgs() args.inputFiles = []string{"./tests/trigraph/main.c"} dir, err := ioutil.TempDir("", "c2go_trigraph")