Skip to content

Commit

Permalink
coding conventions and spelling fixes. (#881)
Browse files Browse the repository at this point in the history
TestTrigraph -> TestTriGraph
TestMultifileTranspilation -> TestMultiFileTranspilation
subfolders -> sub folders
  • Loading branch information
LASRIDOR authored May 26, 2021
1 parent 5836250 commit b809e57
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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")
Expand Down

3 comments on commit b809e57

@WNora
Copy link

@WNora WNora commented on b809e57 Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

// create sub folders for test

@WNora
Copy link

@WNora WNora commented on b809e57 Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func TestMultiFileTranspilation(t *testing.T) {

@WNora
Copy link

@WNora WNora commented on b809e57 Sep 7, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

func TestTriGraph(t *testing.T) {

Please sign in to comment.