You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__dependencies__invalid_dependency_name.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"🦀\" is an invalid dependency name (dependency names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
8
+
"detail": "invalid character `🦀` in dependency name: `🦀`, the first character must be an ASCII character"
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__validation__invalid_names-2.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"foo bar\" is an invalid crate name (crate names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
8
+
"detail": "invalid character ` ` in crate name: `foo bar`, characters must be an ASCII alphanumeric characters, `-`, or `_`"
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__validation__invalid_names-3.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\" is an invalid crate name (crate names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
8
+
"detail": "the crate name `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa` is too long (max 64 characters)"
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__validation__invalid_names-4.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"snow☃\" is an invalid crate name (crate names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
8
+
"detail": "invalid character `☃` in crate name: `snow☃`, characters must be an ASCII alphanumeric characters, `-`, or `_`"
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__validation__invalid_names-5.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"áccênts\" is an invalid crate name (crate names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
8
+
"detail": "invalid character `á` in crate name: `áccênts`, the first character must be an ASCII character"
Copy file name to clipboardExpand all lines: src/tests/krate/publish/snapshots/all__krate__publish__validation__invalid_names.snap
+1-1
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ expression: response.into_json()
5
5
{
6
6
"errors": [
7
7
{
8
-
"detail": "\"\" is an invalid crate name (crate names must start with a letter, contain only letters, numbers, hyphens, or underscores and have at most 64 characters)"
0 commit comments