File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -424,7 +424,7 @@ func TestEval(t *testing.T) {
424
424
}
425
425
}
426
426
427
- func TestEvalError (t * testing.T ) {
427
+ func TestEval_error (t * testing.T ) {
428
428
for _ , test := range evalErrorTests {
429
429
_ , err := Eval (test .input , test .env )
430
430
if err == nil {
@@ -436,7 +436,7 @@ func TestEvalError(t *testing.T) {
436
436
}
437
437
}
438
438
439
- func TestEvalComplex (t * testing.T ) {
439
+ func TestEval_complex (t * testing.T ) {
440
440
type cookie struct {
441
441
Key string
442
442
Value string
@@ -480,7 +480,7 @@ func TestEvalComplex(t *testing.T) {
480
480
}
481
481
}
482
482
483
- func TestEvalRunPanic (t * testing.T ) {
483
+ func TestEval_panic (t * testing.T ) {
484
484
node , err := Parse ("foo()" )
485
485
if err != nil {
486
486
t .Fatal (err )
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ func TestLex(t *testing.T) {
134
134
}
135
135
}
136
136
137
- func TestLexError (t * testing.T ) {
137
+ func TestLex_error (t * testing.T ) {
138
138
for _ , test := range lexErrorTests {
139
139
_ , err := lex (test .input )
140
140
if ! strings .HasPrefix (err .Error (), test .err ) || test .err == "" {
Original file line number Diff line number Diff line change @@ -184,7 +184,7 @@ func TestParse(t *testing.T) {
184
184
}
185
185
}
186
186
187
- func TestParseError (t * testing.T ) {
187
+ func TestParse_error (t * testing.T ) {
188
188
for _ , test := range parseErrorTests {
189
189
_ , err := Parse (test .input )
190
190
if err == nil {
You can’t perform that action at this time.
0 commit comments