We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9932cd2 commit 2420f05Copy full SHA for 2420f05
1 file changed
pkg/sql/tokenizer/tokenizer_fuzz_test.go
@@ -5,7 +5,6 @@ import (
5
"testing"
6
"unicode/utf8"
7
8
- "github.com/ajitpratap0/GoSQLX/pkg/errors"
9
"github.com/ajitpratap0/GoSQLX/pkg/models"
10
)
11
@@ -137,11 +136,6 @@ func FuzzTokenizer(f *testing.F) {
137
136
138
// Verify error handling consistency
139
if err != nil {
140
- // Error should be of correct type (either *errors.Error or another error type)
141
- if _, ok := err.(*errors.Error); !ok {
142
- // Allow other error types (e.g., context errors)
143
- // Just verify it's not nil and has a message
144
- }
145
// Error message should not be empty
146
if err.Error() == "" {
147
t.Errorf("Error message should not be empty for input: %q", truncateForDisplay(data, 50))
0 commit comments