Change the compiler test names to make them more legible

This commit is contained in:
Sasha Koshka 2024-03-24 20:09:10 -04:00
parent 4342c15e38
commit 7f58f7da8b
15 changed files with 7 additions and 7 deletions

View File

@ -11,14 +11,14 @@ testUnit (test,
func TestExitCode13 (test *testing.T) { func TestExitCode13 (test *testing.T) {
testUnit (test, testUnit (test,
"/test-data/data/exitcode13", nil, "/test-data/data/exit-code-13", nil,
"", "", "", "",
13, 13,
)} )}
func TestSystemInclude (test *testing.T) { func TestSystemInclude (test *testing.T) {
testUnit (test, testUnit (test,
"/test-data/data/systeminclude", nil, "/test-data/data/system-include", nil,
"", "Hello, /usr/include!\n", "", "Hello, /usr/include!\n",
0, 0,
)} )}
@ -28,7 +28,7 @@ dependencies := []string {
compileDependency(test, "io"), compileDependency(test, "io"),
} }
testUnit (test, testUnit (test,
"/test-data/data/systemsrc", dependencies, "/test-data/data/system-src", dependencies,
"", "Hello, /usr/src!\n", "", "Hello, /usr/src!\n",
0, 0,
)} )}
@ -50,7 +50,7 @@ testUnit (test,
func TestSimpleInterface (test *testing.T) { func TestSimpleInterface (test *testing.T) {
testUnit (test, testUnit (test,
"/test-data/data/simpleinterface", nil, "/test-data/data/simple-interface", nil,
"", "", "", "",
9, 9,
)} )}
@ -67,7 +67,7 @@ testUnit (test,
func TestMatchExitCode (test *testing.T) { func TestMatchExitCode (test *testing.T) {
testUnit (test, testUnit (test,
"/test-data/data/matchexitcode", nil, "/test-data/data/match-exit-code", nil,
"", "", "", "",
7, 7,
)} )}
@ -77,7 +77,7 @@ dependencies := []string {
compileDependency(test, "io"), compileDependency(test, "io"),
} }
testUnit (test, testUnit (test,
"/test-data/data/matchprint", dependencies, "/test-data/data/match-print", dependencies,
"", "F64\n", "", "F64\n",
0, 0,
)} )}
@ -87,7 +87,7 @@ dependencies := []string {
compileDependency(test, "io"), compileDependency(test, "io"),
} }
testUnit (test, testUnit (test,
"/test-data/data/returnassign", dependencies, "/test-data/data/return-assign", dependencies,
"", "false\n", "", "false\n",
0, 0,
)} )}