From 76661a5ba044f24c9d0984b4b2d53ef88da54257 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0nan=C3=A7=20G=C3=BCm=C3=BC=C5=9F?= Date: Wed, 20 Nov 2024 11:00:10 -0500 Subject: [PATCH] Add TestPageEvaluateMappingError.void --- tests/page_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/page_test.go b/tests/page_test.go index 3bdba1b7a..3fc75de73 100644 --- a/tests/page_test.go +++ b/tests/page_test.go @@ -264,6 +264,11 @@ func TestPageEvaluateMappingError(t *testing.T) { script: "(6)", wantErr: "Given expression does not evaluate to a function", }, + { + name: "void", + script: "", + wantErr: "evaluate requires a page function", + }, } for _, tt := range tests {