Home
last modified time | relevance | path

Searched refs:assert_err (Results 1 – 25 of 726) sorted by relevance

12345678910>>...30

/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/char/
H A Dtests.rs138 assert_err!(CharLit, r"'\x80'", NonAsciiXEscape, 1..5); in invald_ascii_escapes()
139 assert_err!(CharLit, r"'\x81'", NonAsciiXEscape, 1..5); in invald_ascii_escapes()
140 assert_err!(CharLit, r"'\x8a'", NonAsciiXEscape, 1..5); in invald_ascii_escapes()
141 assert_err!(CharLit, r"'\x8F'", NonAsciiXEscape, 1..5); in invald_ascii_escapes()
142 assert_err!(CharLit, r"'\xa0'", NonAsciiXEscape, 1..5); in invald_ascii_escapes()
154 assert_err!(CharLit, r"'\a'", UnknownEscape, 1..3); in invald_escapes()
155 assert_err!(CharLit, r"'\y'", UnknownEscape, 1..3); in invald_escapes()
159 assert_err!(CharLit, r"'\xaj'", InvalidXEscape, 1..5); in invald_escapes()
160 assert_err!(CharLit, r"'\xjb'", InvalidXEscape, 1..5); in invald_escapes()
193 assert_err!(CharLit, r"''", EmptyCharLiteral, None); in parse_err()
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/byte/
H A Dtests.rs117 assert_err!(ByteLit, r"b'\a'", UnknownEscape, 2..4); in invald_escapes()
118 assert_err!(ByteLit, r"b'\y'", UnknownEscape, 2..4); in invald_escapes()
120 assert_err!(ByteLit, r"b'\x'", UnterminatedEscape, 2..4); in invald_escapes()
122 assert_err!(ByteLit, r"b'\xaj'", InvalidXEscape, 2..6); in invald_escapes()
123 assert_err!(ByteLit, r"b'\xjb'", InvalidXEscape, 2..6); in invald_escapes()
149 assert_err!(ByteLit, r"b''", EmptyByteLiteral, None); in parse_err()
161 assert_err!(ByteLit, r"", Empty, None); in parse_err()
163 assert_err!(ByteLit, r"b'''", UnescapedSingleQuote, 2); in parse_err()
164 assert_err!(ByteLit, r"b''''", UnescapedSingleQuote, 2); in parse_err()
170 assert_err!(ByteLit, "b'న'", NonAsciiInByteLiteral, 2); in parse_err()
[all …]
/dports/graphics/librsvg2-rust/librsvg-2.52.8/vendor/anyhow/tests/
H A Dtest_ensure.rs103 assert_err( in test_low_precedence_binary_operator()
156 assert_err( in test_if()
163 assert_err( in test_if()
170 assert_err( in test_if()
177 assert_err( in test_if()
184 assert_err( in test_if()
194 assert_err( in test_loop()
201 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/multimedia/librav1e/rav1e-0.5.1/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/multimedia/rav1e/rav1e-0.5.1/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/devel/cargo-c/cargo-c-0.9.6+cargo-0.58/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/accessibility/wl-gammarelay-rs/wl-gammarelay-rs-0.2.1/cargo-crates/anyhow-1.0.53/tests/
H A Dtest_ensure.rs103 assert_err( in test_low_precedence_binary_operator()
156 assert_err( in test_if()
163 assert_err( in test_if()
170 assert_err( in test_if()
177 assert_err( in test_if()
184 assert_err( in test_if()
194 assert_err( in test_loop()
201 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/audio/gnome-podcasts/podcasts-c86f7bfdef7692bbf20f315a90450321f6ca9ce7/cargo-crates/anyhow-1.0.52/tests/
H A Dtest_ensure.rs102 assert_err( in test_low_precedence_binary_operator()
155 assert_err( in test_if()
162 assert_err( in test_if()
169 assert_err( in test_if()
176 assert_err( in test_if()
183 assert_err( in test_if()
193 assert_err( in test_loop()
200 assert_err( in test_loop()
207 assert_err( in test_loop()
214 assert_err( in test_loop()
[all …]
/dports/www/firefox/firefox-99.0/third_party/rust/anyhow/tests/
H A Dtest_ensure.rs102 assert_err( in test_low_precedence_binary_operator()
155 assert_err( in test_if()
162 assert_err( in test_if()
169 assert_err( in test_if()
176 assert_err( in test_if()
183 assert_err( in test_if()
193 assert_err( in test_loop()
200 assert_err( in test_loop()
207 assert_err( in test_loop()
214 assert_err( in test_loop()
[all …]
/dports/misc/xplr/xplr-0.17.0/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/textproc/jql/jql-3.0.6/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/www/zola/zola-0.15.2/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/cargo-crates/anyhow-1.0.51/tests/
H A Dtest_ensure.rs99 assert_err( in test_low_precedence_binary_operator()
152 assert_err( in test_if()
159 assert_err( in test_if()
166 assert_err( in test_if()
173 assert_err( in test_if()
180 assert_err( in test_if()
190 assert_err( in test_loop()
199 assert_err( in test_loop()
208 assert_err( in test_loop()
215 assert_err( in test_loop()
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/string/
H A Dtests.rs189 assert_err!(StringLit, r#"""#, UnterminatedString, None); in parse_err()
190 assert_err!(StringLit, r#""犬"#, UnterminatedString, None); in parse_err()
196 assert_err!(StringLit, r#""fox"��"#, UnexpectedChar, 5..9); in parse_err()
199 assert_err!(StringLit, "\"\r\"", IsolatedCr, 1); in parse_err()
200 assert_err!(StringLit, "\"fo\rx\"", IsolatedCr, 3); in parse_err()
201 assert_err!(StringLit, "r\"\r\"", IsolatedCr, 2); in parse_err()
202 assert_err!(StringLit, "r\"fo\rx\"", IsolatedCr, 4); in parse_err()
206 assert_err!(StringLit, r##"r####"##, InvalidLiteral, None); in parse_err()
228 assert_err!(StringLit, r#""\a""#, UnknownEscape, 1..3); in invald_escapes()
229 assert_err!(StringLit, r#""foo\y""#, UnknownEscape, 4..6); in invald_escapes()
[all …]
/dports/x11-wm/leftwm/leftwm-0.2.11/cargo-crates/anyhow-1.0.48/tests/
H A Dtest_ensure.rs95 assert_err( in test_low_precedence_binary_operator()
148 assert_err( in test_if()
155 assert_err( in test_if()
162 assert_err( in test_if()
169 assert_err( in test_if()
176 assert_err( in test_if()
186 assert_err( in test_loop()
195 assert_err( in test_loop()
204 assert_err( in test_loop()
211 assert_err( in test_loop()
[all …]
/dports/sysutils/fd/fd-8.3.0/cargo-crates/anyhow-1.0.48/tests/
H A Dtest_ensure.rs95 assert_err( in test_low_precedence_binary_operator()
148 assert_err( in test_if()
155 assert_err( in test_if()
162 assert_err( in test_if()
169 assert_err( in test_if()
176 assert_err( in test_if()
186 assert_err( in test_loop()
195 assert_err( in test_loop()
204 assert_err( in test_loop()
211 assert_err( in test_loop()
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/bytestr/
H A Dtests.rs151 assert_err!(ByteStringLit, r#"b""#, UnterminatedString, None); in parse_err()
152 assert_err!(ByteStringLit, r#"b"cat"#, UnterminatedString, None); in parse_err()
158 assert_err!(ByteStringLit, r#"b"fox"bar"#, UnexpectedChar, 6..9); in parse_err()
161 assert_err!(ByteStringLit, "b\"\r\"", IsolatedCr, 2); in parse_err()
162 assert_err!(ByteStringLit, "b\"fo\rx\"", IsolatedCr, 4); in parse_err()
166 assert_err!(ByteStringLit, r##"br####"##, InvalidLiteral, None); in parse_err()
172 assert_err!(ByteStringLit, r#"b"న""#, NonAsciiInByteLiteral, 2); in non_ascii()
182 assert_err!(ByteStringLit, r#"b"\a""#, UnknownEscape, 2..4); in invald_escapes()
183 assert_err!(ByteStringLit, r#"b"foo\y""#, UnknownEscape, 5..7); in invald_escapes()
184 assert_err!(ByteStringLit, r#"b"\"#, UnterminatedString, None); in invald_escapes()
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/integer/
H A Dtests.rs242 assert_err!(IntegerLit, "", Empty, None); in parse_err()
247 assert_err!(IntegerLit, "0b", NoDigits, 2..2); in parse_err()
252 assert_err!(IntegerLit, "0b3", InvalidDigit, 2); in parse_err()
261 assert_err!(IntegerLit, "0b9", InvalidDigit, 2); in invalid_digits()
262 assert_err!(IntegerLit, "0b07", InvalidDigit, 3); in invalid_digits()
291 assert_err!(IntegerLit, "0x_", NoDigits, 2..3); in no_valid_digits()
292 assert_err!(IntegerLit, "0x__", NoDigits, 2..4); in no_valid_digits()
299 assert_err!(IntegerLit, "0o_", NoDigits, 2..3); in no_valid_digits()
300 assert_err!(IntegerLit, "0o__", NoDigits, 2..4); in no_valid_digits()
305 assert_err!(IntegerLit, "0b_", NoDigits, 2..3); in no_valid_digits()
[all …]
/dports/www/jwt-cli/jwt-cli-5.0.0/cargo-crates/litrs-0.2.3/src/float/
H A Dtests.rs161 assert_err!(FloatLit, "", Empty, None); in parse_err()
167 assert_err!(FloatLit, "0e", NoExponentDigits, 1..2); in parse_err()
179 assert_err!(FloatLit, "1e", NoExponentDigits, 1..2); in parse_err()
180 assert_err!(FloatLit, "1.e4", UnexpectedChar, 2); in parse_err()
181 assert_err!(FloatLit, "3._4", UnexpectedChar, 2); in parse_err()
182 assert_err!(FloatLit, "12345._987", UnexpectedChar, 6); in parse_err()
183 assert_err!(FloatLit, "46._", UnexpectedChar, 3); in parse_err()
184 assert_err!(FloatLit, "46.f32", UnexpectedChar, 3); in parse_err()
185 assert_err!(FloatLit, "46.e3", UnexpectedChar, 3); in parse_err()
186 assert_err!(FloatLit, "46._e3", UnexpectedChar, 3); in parse_err()
[all …]
/dports/devel/sentry-cli/sentry-cli-1.71.0/cargo-crates/git2-0.13.22/src/
H A Dutil.rs262 macro_rules! assert_err { macro
294 assert_err!("", "repo path should not be empty"); in path_to_repo_path_no_weird()
302 assert_err!("/", "repo path `/` should be relative"); in path_to_repo_path_no_absolute()
309 assert_err!( in path_to_repo_path_no_absolute()
313 assert_err!( in path_to_repo_path_no_absolute()
317 assert_err!( in path_to_repo_path_no_absolute()
321 assert_err!( in path_to_repo_path_no_absolute()
325 assert_err!( in path_to_repo_path_no_absolute()
329 assert_err!( in path_to_repo_path_no_absolute()
333 assert_err!( in path_to_repo_path_no_absolute()
[all …]
/dports/devel/git-absorb/git-absorb-0.6.6/cargo-crates/git2-0.13.11/src/
H A Dutil.rs262 macro_rules! assert_err { macro
294 assert_err!("", "repo path should not be empty"); in path_to_repo_path_no_weird()
302 assert_err!("/", "repo path `/` should be relative"); in path_to_repo_path_no_absolute()
309 assert_err!( in path_to_repo_path_no_absolute()
313 assert_err!( in path_to_repo_path_no_absolute()
317 assert_err!( in path_to_repo_path_no_absolute()
321 assert_err!( in path_to_repo_path_no_absolute()
325 assert_err!( in path_to_repo_path_no_absolute()
329 assert_err!( in path_to_repo_path_no_absolute()
333 assert_err!( in path_to_repo_path_no_absolute()
[all …]
/dports/devel/git-delta/delta-0.9.2/cargo-crates/git2-0.13.23/src/
H A Dutil.rs262 macro_rules! assert_err { macro
294 assert_err!("", "repo path should not be empty"); in path_to_repo_path_no_weird()
302 assert_err!("/", "repo path `/` should be relative"); in path_to_repo_path_no_absolute()
309 assert_err!( in path_to_repo_path_no_absolute()
313 assert_err!( in path_to_repo_path_no_absolute()
317 assert_err!( in path_to_repo_path_no_absolute()
321 assert_err!( in path_to_repo_path_no_absolute()
325 assert_err!( in path_to_repo_path_no_absolute()
329 assert_err!( in path_to_repo_path_no_absolute()
333 assert_err!( in path_to_repo_path_no_absolute()
[all …]
/dports/sysutils/vector/vector-0.10.0/cargo-crates/git2-0.13.6/src/
H A Dutil.rs262 macro_rules! assert_err { macro
294 assert_err!("", "repo path should not be empty"); in path_to_repo_path_no_weird()
302 assert_err!("/", "repo path `/` should be relative"); in path_to_repo_path_no_absolute()
309 assert_err!( in path_to_repo_path_no_absolute()
313 assert_err!( in path_to_repo_path_no_absolute()
317 assert_err!( in path_to_repo_path_no_absolute()
321 assert_err!( in path_to_repo_path_no_absolute()
325 assert_err!( in path_to_repo_path_no_absolute()
329 assert_err!( in path_to_repo_path_no_absolute()
333 assert_err!( in path_to_repo_path_no_absolute()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/git2-0.13.18/src/
H A Dutil.rs262 macro_rules! assert_err { macro
294 assert_err!("", "repo path should not be empty"); in path_to_repo_path_no_weird()
302 assert_err!("/", "repo path `/` should be relative"); in path_to_repo_path_no_absolute()
309 assert_err!( in path_to_repo_path_no_absolute()
313 assert_err!( in path_to_repo_path_no_absolute()
317 assert_err!( in path_to_repo_path_no_absolute()
321 assert_err!( in path_to_repo_path_no_absolute()
325 assert_err!( in path_to_repo_path_no_absolute()
329 assert_err!( in path_to_repo_path_no_absolute()
333 assert_err!( in path_to_repo_path_no_absolute()
[all …]

12345678910>>...30