Update capture niche tests

This commit is contained in:
Ayaz Hafiz 2022-07-01 15:56:32 -04:00 committed by ayazhafiz
parent d08aecf55f
commit 276db791bd
No known key found for this signature in database
GPG key ID: B443F7A3030C9AED

View file

@ -3501,7 +3501,7 @@ fn polymorphic_lambda_captures_polymorphic_value() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn multimorphic_lambda_set_u64_vs_u8_capture() {
fn lambda_capture_niche_u64_vs_u8_capture() {
assert_evals_to!(
indoc!(
r#"
@ -3528,7 +3528,7 @@ fn multimorphic_lambda_set_u64_vs_u8_capture() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn multimorphic_lambdas_with_other_lambda_capture() {
fn lambda_capture_niches_with_other_lambda_capture() {
assert_evals_to!(
indoc!(
r#"
@ -3561,7 +3561,7 @@ fn multimorphic_lambdas_with_other_lambda_capture() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn multimorphic_lambdas_with_non_capturing_function() {
fn lambda_capture_niches_with_non_capturing_function() {
assert_evals_to!(
indoc!(
r#"
@ -3594,7 +3594,7 @@ fn multimorphic_lambdas_with_non_capturing_function() {
#[test]
#[cfg(any(feature = "gen-llvm"))]
fn multimorphic_lambdas_have_captured_function_in_closure() {
fn lambda_capture_niches_have_captured_function_in_closure() {
assert_evals_to!(
indoc!(
r#"