From 42bf1e703e18ca87095426da2cc91d22f7731020 Mon Sep 17 00:00:00 2001 From: Yutaka Ichibangase Date: Sun, 15 May 2022 14:50:36 +0900 Subject: [PATCH] add test --- engine/exception_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/engine/exception_test.go b/engine/exception_test.go index 07f2e4e3..9c01c5aa 100644 --- a/engine/exception_test.go +++ b/engine/exception_test.go @@ -178,3 +178,7 @@ func TestEvaluationError(t *testing.T) { }, }, EvaluationError(ExceptionalValueIntOverflow, nil)) } + +func TestExceptionalValue_Error(t *testing.T) { + assert.Equal(t, "int_overflow", ExceptionalValueIntOverflow.Error()) +}