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
// Skips crates_valid_alt_valid because it would not error.
2107
+
crates_valid_alt_missing:TokenTest{
2108
+
crates_io_token:TokenStatus::Valid,
2109
+
alternative_token:TokenStatus::Missing,
2110
+
expected_message:" no token found for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
2111
+
}
2112
+
crates_valid_alt_invalid_has_scheme:TokenTest{
2113
+
crates_io_token:TokenStatus::Valid,
2114
+
alternative_token:TokenStatus::InvalidHasScheme,
2115
+
expected_message:" token rejected for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
2116
+
}
2117
+
crates_valid_alt_invalid_no_scheme:TokenTest{
2118
+
crates_io_token:TokenStatus::Valid,
2119
+
alternative_token:TokenStatus::InvalidNoScheme,
2120
+
expected_message:" token rejected for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
2121
+
}
2122
+
crates_missing_alt_valid:TokenTest{
2123
+
crates_io_token:TokenStatus::Missing,
2124
+
alternative_token:TokenStatus::Valid,
2125
+
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2126
+
}
2127
+
crates_missing_alt_missing:TokenTest{
2128
+
crates_io_token:TokenStatus::Missing,
2129
+
alternative_token:TokenStatus::Missing,
2130
+
expected_message:" no token found for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
2131
+
}
2132
+
crates_missing_alt_invalid_has_scheme:TokenTest{
2133
+
crates_io_token:TokenStatus::Missing,
2134
+
alternative_token:TokenStatus::InvalidHasScheme,
2135
+
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2136
+
}
2137
+
crates_missing_alt_invalid_no_scheme:TokenTest{
2138
+
crates_io_token:TokenStatus::Missing,
2139
+
alternative_token:TokenStatus::InvalidNoScheme,
2140
+
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2141
+
}
2142
+
crates_invalid_has_scheme_alt_valid:TokenTest{
2143
+
crates_io_token:TokenStatus::Missing,
2144
+
alternative_token:TokenStatus::Valid,
2145
+
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2146
+
}
2147
+
crates_invalid_has_scheme_alt_missing:TokenTest{
2148
+
crates_io_token:TokenStatus::Missing,
2149
+
alternative_token:TokenStatus::Missing,
2150
+
expected_message:" no token found for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2161
+
}
2162
+
crates_invalid_no_scheme_alt_valid:TokenTest{
2163
+
crates_io_token:TokenStatus::Missing,
2164
+
alternative_token:TokenStatus::Valid,
2165
+
expected_message:" no token found, please run `cargo login`\n or use environment variable CARGO_REGISTRY_TOKEN",
2166
+
}
2167
+
crates_invalid_no_scheme_alt_missing:TokenTest{
2168
+
crates_io_token:TokenStatus::Missing,
2169
+
alternative_token:TokenStatus::Missing,
2170
+
expected_message:" no token found for `alternative`, please run `cargo login --registry alternative`\n or use environment variable CARGO_REGISTRIES_ALTERNATIVE_TOKEN",
0 commit comments