From db2a15515c910ca6bd3f097c5d2c9ca5612a35cc Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Fri, 21 Feb 2020 17:57:10 +0100 Subject: extend testing --- evaluator/quote_unquote_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'evaluator/quote_unquote_test.go') diff --git a/evaluator/quote_unquote_test.go b/evaluator/quote_unquote_test.go index 0f79589..9b0de5b 100644 --- a/evaluator/quote_unquote_test.go +++ b/evaluator/quote_unquote_test.go @@ -30,7 +30,7 @@ func TestQuote(t *testing.T) { } for _, tt := range tests { - evaluated := testEval(tt.input) + evaluated := testEval(t, tt.input) quote, ok := evaluated.(*object.Quote) if !ok { t.Fatalf("expected *object.Quote. got=%T (%+v)", @@ -99,7 +99,7 @@ func TestQuoteUnquote(t *testing.T) { } for _, tt := range tests { - evaluated := testEval(tt.input) + evaluated := testEval(t, tt.input) quote, ok := evaluated.(*object.Quote) if !ok { t.Fatalf("expected *object.Quote. got=%T (%+v)", -- cgit v1.2.3