Simplify validation
diff --git a/cmd/termmapper/fuzz_test.go b/cmd/termmapper/fuzz_test.go
index 6727b5c..8d63d53 100644
--- a/cmd/termmapper/fuzz_test.go
+++ b/cmd/termmapper/fuzz_test.go
@@ -193,7 +193,7 @@
direction: "atob",
input: "{}",
expectedCode: http.StatusBadRequest,
- expectedError: "map ID too long (max 1024 bytes)",
+ expectedError: "mapID too long (max 1024 bytes)",
},
{
name: "Large direction",
@@ -201,7 +201,7 @@
direction: strings.Repeat("a", maxParamLength+1),
input: "{}",
expectedCode: http.StatusBadRequest,
- expectedError: "direction too long (max 1024 bytes)",
+ expectedError: "dir too long (max 1024 bytes)",
},
{
name: "Large foundryA",