Lines Matching refs:r
133 let r = parse_boot_metadata(toml_str); in test_parse_missing_boot_protocol() localVariable
134 assert!(r.is_err()); in test_parse_missing_boot_protocol()
135 let r = r.unwrap_err(); in test_parse_missing_boot_protocol() localVariable
136 assert_missing_field(&r.to_string(), "boot-protocol"); in test_parse_missing_boot_protocol()
146 let r = parse_boot_metadata(toml_str); in test_parse_missing_boot_mode() localVariable
147 assert!(r.is_err()); in test_parse_missing_boot_mode()
148 let r = r.unwrap_err(); in test_parse_missing_boot_mode() localVariable
149 assert_missing_field(&r.to_string(), "boot-mode"); in test_parse_missing_boot_mode()
158 let r = parse_boot_metadata(toml_str); in test_parse_invalid_boot_protocol() localVariable
159 assert!(r.is_err()); in test_parse_invalid_boot_protocol()
160 let r = r.unwrap_err(); in test_parse_invalid_boot_protocol() localVariable
161 assert_unknown_variant(&r.to_string(), "invalid-protocol"); in test_parse_invalid_boot_protocol()
171 let r = parse_boot_metadata(toml_str); in test_parse_invalid_boot_mode() localVariable
172 assert!(r.is_err()); in test_parse_invalid_boot_mode()
173 let r = r.unwrap_err(); in test_parse_invalid_boot_mode() localVariable
174 assert_unknown_variant(&r.to_string(), "invalid-mode"); in test_parse_invalid_boot_mode()