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) {
424424 }
425425}
426426
427- func TestEvalError (t * testing.T ) {
427+ func TestEval_error (t * testing.T ) {
428428 for _ , test := range evalErrorTests {
429429 _ , err := Eval (test .input , test .env )
430430 if err == nil {
@@ -436,7 +436,7 @@ func TestEvalError(t *testing.T) {
436436 }
437437}
438438
439- func TestEvalComplex (t * testing.T ) {
439+ func TestEval_complex (t * testing.T ) {
440440 type cookie struct {
441441 Key string
442442 Value string
@@ -480,7 +480,7 @@ func TestEvalComplex(t *testing.T) {
480480 }
481481}
482482
483- func TestEvalRunPanic (t * testing.T ) {
483+ func TestEval_panic (t * testing.T ) {
484484 node , err := Parse ("foo()" )
485485 if err != nil {
486486 t .Fatal (err )
Original file line number Diff line number Diff line change @@ -134,7 +134,7 @@ func TestLex(t *testing.T) {
134134 }
135135}
136136
137- func TestLexError (t * testing.T ) {
137+ func TestLex_error (t * testing.T ) {
138138 for _ , test := range lexErrorTests {
139139 _ , err := lex (test .input )
140140 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) {
184184 }
185185}
186186
187- func TestParseError (t * testing.T ) {
187+ func TestParse_error (t * testing.T ) {
188188 for _ , test := range parseErrorTests {
189189 _ , err := Parse (test .input )
190190 if err == nil {
You can’t perform that action at this time.
0 commit comments