use PATH instead of ANGLAIS_PATH, fic compiler_test.go
This commit is contained in:
parent
b95d2954ba
commit
c6b41443d5
2 changed files with 12 additions and 12 deletions
|
|
@ -36,7 +36,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
return map[string]CompileTestData{
|
||||
"constant_string": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -64,7 +64,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"conditional_false": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -113,7 +113,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"conditional_true": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -162,7 +162,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"conditional_else_false": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -224,7 +224,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"conditional_else_true": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -286,7 +286,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"addition": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -321,7 +321,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"sum_function": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -407,7 +407,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"remove_func_vars": {
|
||||
&Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -484,7 +484,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"two_lists": {
|
||||
program: &Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
statements: []Node{
|
||||
&AssignNode{
|
||||
|
|
@ -536,7 +536,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"unary/negate": {
|
||||
program: &Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
@ -566,7 +566,7 @@ func GetCompileTestData() map[string]CompileTestData {
|
|||
},
|
||||
"unary/not": {
|
||||
program: &Program{
|
||||
[]string{},
|
||||
[]Import{},
|
||||
&BlockNode{
|
||||
[]Node{
|
||||
&AssignNode{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue