From cd89bc04f8102e9aa558618a8ee1ce0f9e73c595 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lancelot=20de=20Ferri=C3=A8re?= Date: Thu, 8 Jun 2023 14:11:23 +0200 Subject: [PATCH] Fix tests --- .../src/test_data/consteval_int | 30 +++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/crates/cairo-lang-plugins/src/test_data/consteval_int b/crates/cairo-lang-plugins/src/test_data/consteval_int index 027ff752806..4a21b73f49d 100644 --- a/crates/cairo-lang-plugins/src/test_data/consteval_int +++ b/crates/cairo-lang-plugins/src/test_data/consteval_int @@ -60,30 +60,30 @@ const d: felt252 = consteval_int!(~24); const e: felt252 = consteval_int!(234 < 5); //! > expected_diagnostics -error: Unsupported expression in consteval macro - --> dummy_file.cairo:1:32 +error: Unsupported expression in consteval_int macro + --> dummy_file.cairo:1:35 const a: felt252 = consteval_int!(func_call(24)); - ^***********^ + ^***********^ -error: Unsupported expression in consteval macro - --> dummy_file.cairo:3:32 +error: Unsupported expression in consteval_int macro + --> dummy_file.cairo:3:35 const b: felt252 = consteval_int!('some string'); - ^***********^ + ^***********^ -error: Unsupported unary operator in consteval macro - --> dummy_file.cairo:5:32 +error: Unsupported unary operator in consteval_int macro + --> dummy_file.cairo:5:35 const c: felt252 = consteval_int!(*24); - ^*^ + ^*^ -error: Unsupported unary operator in consteval macro - --> dummy_file.cairo:7:32 +error: Unsupported unary operator in consteval_int macro + --> dummy_file.cairo:7:35 const d: felt252 = consteval_int!(~24); - ^*^ + ^*^ -error: Unsupported binary operator in consteval macro - --> dummy_file.cairo:9:32 +error: Unsupported binary operator in consteval_int macro + --> dummy_file.cairo:9:35 const e: felt252 = consteval_int!(234 < 5); - ^*****^ + ^*****^ //! > ==========================================================================