Change the compiler test names to make them more legible
This commit is contained in:
parent
4342c15e38
commit
7f58f7da8b
@ -11,14 +11,14 @@ testUnit (test,
|
||||
|
||||
func TestExitCode13 (test *testing.T) {
|
||||
testUnit (test,
|
||||
"/test-data/data/exitcode13", nil,
|
||||
"/test-data/data/exit-code-13", nil,
|
||||
"", "",
|
||||
13,
|
||||
)}
|
||||
|
||||
func TestSystemInclude (test *testing.T) {
|
||||
testUnit (test,
|
||||
"/test-data/data/systeminclude", nil,
|
||||
"/test-data/data/system-include", nil,
|
||||
"", "Hello, /usr/include!\n",
|
||||
0,
|
||||
)}
|
||||
@ -28,7 +28,7 @@ dependencies := []string {
|
||||
compileDependency(test, "io"),
|
||||
}
|
||||
testUnit (test,
|
||||
"/test-data/data/systemsrc", dependencies,
|
||||
"/test-data/data/system-src", dependencies,
|
||||
"", "Hello, /usr/src!\n",
|
||||
0,
|
||||
)}
|
||||
@ -50,7 +50,7 @@ testUnit (test,
|
||||
|
||||
func TestSimpleInterface (test *testing.T) {
|
||||
testUnit (test,
|
||||
"/test-data/data/simpleinterface", nil,
|
||||
"/test-data/data/simple-interface", nil,
|
||||
"", "",
|
||||
9,
|
||||
)}
|
||||
@ -67,7 +67,7 @@ testUnit (test,
|
||||
|
||||
func TestMatchExitCode (test *testing.T) {
|
||||
testUnit (test,
|
||||
"/test-data/data/matchexitcode", nil,
|
||||
"/test-data/data/match-exit-code", nil,
|
||||
"", "",
|
||||
7,
|
||||
)}
|
||||
@ -77,7 +77,7 @@ dependencies := []string {
|
||||
compileDependency(test, "io"),
|
||||
}
|
||||
testUnit (test,
|
||||
"/test-data/data/matchprint", dependencies,
|
||||
"/test-data/data/match-print", dependencies,
|
||||
"", "F64\n",
|
||||
0,
|
||||
)}
|
||||
@ -87,7 +87,7 @@ dependencies := []string {
|
||||
compileDependency(test, "io"),
|
||||
}
|
||||
testUnit (test,
|
||||
"/test-data/data/returnassign", dependencies,
|
||||
"/test-data/data/return-assign", dependencies,
|
||||
"", "false\n",
|
||||
0,
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user