From 967cfd866398a4aa98e55624c4872bbf0d2f14cd Mon Sep 17 00:00:00 2001 From: zongz Date: Mon, 16 Oct 2023 17:42:37 +0800 Subject: [PATCH] fix: change the location of test case Signed-off-by: zongz --- .../resolver/{test_data => test_fail_data}/lambda_ty_error.k | 0 kclvm/sema/src/resolver/tests.rs | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename kclvm/sema/src/resolver/{test_data => test_fail_data}/lambda_ty_error.k (100%) diff --git a/kclvm/sema/src/resolver/test_data/lambda_ty_error.k b/kclvm/sema/src/resolver/test_fail_data/lambda_ty_error.k similarity index 100% rename from kclvm/sema/src/resolver/test_data/lambda_ty_error.k rename to kclvm/sema/src/resolver/test_fail_data/lambda_ty_error.k diff --git a/kclvm/sema/src/resolver/tests.rs b/kclvm/sema/src/resolver/tests.rs index be5858848..807500310 100644 --- a/kclvm/sema/src/resolver/tests.rs +++ b/kclvm/sema/src/resolver/tests.rs @@ -555,7 +555,7 @@ fn test_resolve_lambda_assignment_diagnostic() { let sess = Arc::new(ParseSession::default()); let mut program = load_program( sess.clone(), - &["./src/resolver/test_data/lambda_ty_error.k"], + &["./src/resolver/test_fail_data/lambda_ty_error.k"], None, ) .unwrap();