From fb6ebd12f3a26ba0dd074f829b7254c37aba89ec Mon Sep 17 00:00:00 2001
From: Frederic BIDON <fredbi@yahoo.com>
Date: Mon, 17 Mar 2025 12:59:44 +0100
Subject: [PATCH] test: fixed error assertion

Signed-off-by: Frederic BIDON <fredbi@yahoo.com>
---
 go.mod         |    6 +++---
 go.sum         |   12 ++++++------
 schema_test.go |    2 +-
 3 files changed, 10 insertions(+), 10 deletions(-)

--- a/go.mod
+++ b/go.mod
@@ -4,11 +4,11 @@ require (
 	github.com/davecgh/go-spew v1.1.1
 	github.com/go-openapi/analysis v0.23.0
 	github.com/go-openapi/errors v0.22.0
-	github.com/go-openapi/jsonpointer v0.21.0
+	github.com/go-openapi/jsonpointer v0.21.1
 	github.com/go-openapi/loads v0.22.0
 	github.com/go-openapi/spec v0.21.0
 	github.com/go-openapi/strfmt v0.23.0
-	github.com/go-openapi/swag v0.23.0
+	github.com/go-openapi/swag v0.23.1
 	github.com/stretchr/testify v1.9.0
 	gopkg.in/yaml.v3 v3.0.1
 )
--- a/schema_test.go
+++ b/schema_test.go
@@ -107,7 +107,7 @@ func TestSchemaValidator_PatternProperti
 }
 
 func TestSchemaValidator_Panic(t *testing.T) {
-	assert.PanicsWithValue(t, `Invalid schema provided to SchemaValidator: object has no field "pointer-to-nowhere"`, schemaValidatorPanicker)
+	assert.PanicsWithValue(t, `Invalid schema provided to SchemaValidator: object has no field "pointer-to-nowhere": JSON pointer error`, schemaValidatorPanicker)
 }
 
 func schemaValidatorPanicker() {
