From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:5f26::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id CGLZDJ6T62WAawAAbAwnHQ (envelope-from ) for ; Fri, 08 Mar 2024 23:39:26 +0100 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 2N6ZCZ6T62VcCAEAqHPOHw (envelope-from ) for ; Fri, 08 Mar 2024 23:39:26 +0100 X-Envelope-To: patches@johnnyrichard.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=mTpvPFEw; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=WGEX9pQH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=johnnyrichard.com; s=key1; t=1709937566; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=vQ5yjrgwYTEJXZgk6LpHo1vMfb9q6HURTOXqjqeu6Lvyln5L1ATK5aEhm9R/4RakMLP0ey xedM3SqD6WxaCrq2MB4NQY/rKqHKC4GgUclmdakomKb0xWG3iz1XAPIcJNyImXV2QMqMUC yFvImqjUemTs6uOPOFQaAVIQVEi7Vr28ClxDryNQdUzFLWIr/Eya5vbKWHJKxtVJYODOFC xbayF/ck7pShPdk6EMD5lO7t+exzUbIedudr2QAD8P6oiRPE8t2FnkmDwnvPyFGj/e3qtI aRPqvd4a9wtzjCoKfyAMU4jWpBlJxUKfpsuZfJpnTm7tDkbNLqpssYbTuEQtIA== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=lists.sr.ht header.s=20240113 header.b=mTpvPFEw; dkim=pass header.d=maniero.me header.s=hostingermail1 header.b=WGEX9pQH; spf=pass (aspmx1.migadu.com: domain of lists@sr.ht designates 46.23.81.152 as permitted sender) smtp.mailfrom=lists@sr.ht; dmarc=none; arc=pass ("mailchannels.net:s=arc-2022:i=1") ARC-Seal: i=2; s=key1; d=johnnyrichard.com; t=1709937566; a=rsa-sha256; cv=pass; b=kecBtiXpEnrje49YBzPoKQHPFYm/8sAFj74ZM5SaNOoURN7s2mT3KHVJEiE2Cu9w4lFIRJ O1eWtJ6mAwo166iVZmMPa04alviFSHF1QQy28lvQA7fmXU6ml31h8CUok/RCS/Q4+QkRgR oneiz+E3B++RavVmod1WRf+cbLp9jr1cCtNrZSXJEExVCmw3TBgdqFOBfTwlmhZ/++Dn2b PBPddxJVYxvximfrMUg6gv4mI4tLFz2fo7CYCDZoGuneHcvGLAwG9W1fdfGZVu6mjLIAxN URIgTnZw4My/0CI8OpVRndlem5bZLgei6Z0mMcg4EUXl2YcV7OyOaQDu4Imbnw== Received: from mail-a.sr.ht (mail-a.sr.ht [46.23.81.152]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 64D7866742 for ; Fri, 8 Mar 2024 23:39:25 +0100 (CET) DKIM-Signature: a=rsa-sha256; bh=ejgX0bjDvwiRUyif9/WpPmwmRBazxigwWGyAvgBoANY=; c=simple/simple; d=lists.sr.ht; h=From:To:Cc:Subject:Date:In-Reply-To:References:List-Unsubscribe:List-Subscribe:List-Archive:List-Post:List-ID; q=dns/txt; s=20240113; t=1709937565; v=1; b=mTpvPFEwzWu+Sa34NcLLmVAnSgcH65a4tlAWO+y+ox++7SyTGX8rU4PUWEO3AKGgUNmyUl7P TsLLUFBWmpV177CAEtwQBtCmNZ4EdNpiAjJ83qF8l7yAnuQ3xdUrB3XUPhGIbl69zRmkfwHBLN3 CbkFfaCoTEiE3i5Ky4QAKZDofK9zw8AOmAVxVOQbyyFiA7iwxcHWnkuJxkDxL/HL/HUFNO9sOhR KGgKAoZvltmcdIAxxdEAsLylH1wFEwyTys7y4hif5cH6ostu+T8+YaTruQjj9L6tAW8oowUR+RY hUoHsovahjON6M0GnNtnGHqukcP7F11MOaaWBV3ye6vCw== Received: from lists.sr.ht (unknown [46.23.81.154]) by mail-a.sr.ht (Postfix) with ESMTPSA id 474C720269 for ; Fri, 8 Mar 2024 22:39:25 +0000 (UTC) Received: from iguana.tulip.relay.mailchannels.net (iguana.tulip.relay.mailchannels.net [23.83.218.253]) by mail-a.sr.ht (Postfix) with ESMTPS id 470A920256 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 8 Mar 2024 22:39:23 +0000 (UTC) X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 6E75C80EA0 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 8 Mar 2024 22:39:22 +0000 (UTC) Received: from uk-fast-smtpout2.hostinger.io (unknown [127.0.0.6]) (Authenticated sender: hostingeremail) by relay.mailchannels.net (Postfix) with ESMTPA id C079E81A04 for <~johnnyrichard/olang-devel@lists.sr.ht>; Fri, 8 Mar 2024 22:39:21 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1709937562; a=rsa-sha256; cv=none; b=ctaJk5ja5UHavTX/e1CdDz5EasTsBPmHO3Aj/9ULtPQOCghNZwIl4I1KP3Cf5dYCA2Irwo 4Cz+wTDspQEgKc5h0KSJ4S4xMJN/MgTHuXNrPF71hyfenBeIc+7W6zhdGjjroA77slMh+Q MWWQNe/DmSEMKprjo8hhMWL5j0cD/GINV0zBM22ehgnrL4aUedmEUQ1sawd98lbIF5SqGj ws7ADGUnyBZ6WQ+P/kwnRYTKta1R7rVDl/Eqohm3GQb9GoFH0H1diuByLwmZyH8ZLJ5N8F /kkNOrc6fvB1UBtWGN+6AgruFZkUv/TxzV5HN3+XO4W2gWb3aLD7XYBBVS9ROg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1709937562; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:dkim-signature; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=4ZLmc99UY5eR5sI34gMPNr/4Bj3cPXopPRZWX3DThiy039mDF2qDAxF3Jf76L/tA8NHW3j DiVk5xMOHuMbFMVTjQEp1Mv+YmmB8CXa5kvQCRdA3qDhr+ybHVaPUgsyFc+/6uz55hp+9t lU8uPIL1wTlxcKdwexfsl2wZLMYWpI9ORNmzzfwtPdjrgeMIbmmYJkpFPjTzmrntCqLi8a 01uiXD7phdM4lznZWUSJ/hs215TvdfWHbtFnScWNJGzKfynTPfM3kQ1wkrlSQtRH3AdYsp Zu7IUGGUUpSqwBgVPpt42CIwrRiRWErbt3rYYutNfQ7XqNux/b3kNAE9d2x39g== ARC-Authentication-Results: i=1; rspamd-67fb46fddd-r99b6; auth=pass smtp.auth=hostingeremail smtp.mailfrom=carlos@maniero.me X-Sender-Id: hostingeremail|x-authuser|carlos@maniero.me X-MC-Relay: Neutral X-MailChannels-SenderId: hostingeremail|x-authuser|carlos@maniero.me X-MailChannels-Auth-Id: hostingeremail X-Arithmetic-Turn: 12bb98d0758282bb_1709937562300_476771576 X-MC-Loop-Signature: 1709937562300:2879425563 X-MC-Ingress-Time: 1709937562299 Received: from uk-fast-smtpout2.hostinger.io (uk-fast-smtpout2.hostinger.io [31.220.23.36]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384) by 100.116.254.144 (trex/6.9.2); Fri, 08 Mar 2024 22:39:22 +0000 From: Carlos Maniero DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maniero.me; s=hostingermail1; t=1709937560; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=JfNDPnPuhCD+iz7x5A//LsyqD8CLdxIudfP3bCPCgFw=; b=WGEX9pQHX3XPWGdYTAFbAEI3d6KkzFJ1HMmBZteIeKEjg2TNFQ6IXpl94zR4HJWsUwO/W8 OpkT+ww9OGwbFaHe/bxj8MCrFCRCXt9G+WWmIowJcCalBMio67eUzYObKZhHnq5+eGz2/v nq8kGAqmSR9gVfUCvEJnvLjtqLmy6295IG71i5DEm1KzC14Bn9/HYvJyqCBW2m3xhgqr98 d52hhbN/DWxSRpfcGcbGD+vgnwigNEcW3Ak7ZE6bryaJJigjdEqqhieGFkQuDpbgh5Ec78 HEj88mF0EQZybPEh61dQ991dI82Ob+DKd2sX4mF1hwTZ3dxgXn6wMOTn7hCmjg== To: ~johnnyrichard/olang-devel@lists.sr.ht Cc: Carlos Maniero Subject: [PATCH olang v2 1/3] tests: fix: rename dump tokens test name Date: Fri, 8 Mar 2024 19:39:07 -0300 Message-Id: <20240308223909.3184226-2-carlos@maniero.me> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240308223909.3184226-1-carlos@maniero.me> References: <20240308223909.3184226-1-carlos@maniero.me> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-Envelope: MS4xfHuVbwDjGlQ3Ksy8f6/zBOs9F2V6aPVaIAVRD3LD+kGJA2kuhhaAqqtTuHhGqlEo13l4hz+AAh1I1Xc0NLrGazDnyWi9M2NG/UhLv0Qxz9PRxczK+k24 TFzACpajacAT5S/Y6Qq1TUwFG6uUjj8WKLsO6rUkfm5tegY7L71RLh9vdFC997vkCWAy3b+vJb1tQjoaBX3Zo7eUR9VxV6o5Pcb+IA+mg8tQKaShCZQfQNDU X-CM-Analysis: v=2.4 cv=HawSTDE8 c=1 sm=1 tr=0 ts=65eb9397 a=5+VMC1FZ3J4mVPAKpPmAqg==:117 a=5+VMC1FZ3J4mVPAKpPmAqg==:17 a=MKtGQD3n3ToA:10 a=1oJP67jkp3AA:10 a=wsj2AbciLNfq2QVL5yQA:9 a=BXDaF_L80NY05PYiAFlV:22 X-AuthUser: carlos@maniero.me X-Sourcehut-Patchset-Status: UNKNOWN List-Unsubscribe: List-Subscribe: List-Archive: Archived-At: List-Post: List-ID: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel.lists.sr.ht> Sender: ~johnnyrichard/olang-devel <~johnnyrichard/olang-devel@lists.sr.ht> X-Migadu-Flow: FLOW_IN X-Migadu-Country: NL X-Migadu-Spam-Score: -9.55 X-Spam-Score: -9.55 X-Migadu-Queue-Id: 64D7866742 X-Migadu-Scanner: mx13.migadu.com X-TUID: 0xgI+Iruz4Rn The first integration test written was a placeholder to setup the tooling. The test content has changed when we introduced the dump tokens feature but its name remains the same. Signed-off-by: Carlos Maniero --- tests/integration/cli_test.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/integration/cli_test.c b/tests/integration/cli_test.c index cb1a7df..f7c7417 100644 --- a/tests/integration/cli_test.c +++ b/tests/integration/cli_test.c @@ -19,7 +19,7 @@ #include "munit.h" static MunitResult -test_cli_hello_file(const MunitParameter params[], void *user_data_or_fixture) +test_cli_dump_tokens(const MunitParameter params[], void *user_data_or_fixture) { cli_result_t compilation_result = cli_runner_compiler_dump_tokens("../../examples/main_exit.0"); munit_assert_int(compilation_result.exit_code, ==, 0); @@ -41,8 +41,10 @@ test_cli_hello_file(const MunitParameter params[], void *user_data_or_fixture) return MUNIT_OK; } -static MunitTest tests[] = { { "/test_cli_hello_file", test_cli_hello_file, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }, - { NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL } }; +static MunitTest tests[] = { + { "/test_cli_dump_tokens", test_cli_dump_tokens, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL }, + { NULL, NULL, NULL, NULL, MUNIT_TEST_OPTION_NONE, NULL } +}; static const MunitSuite suite = { "/cli_test", tests, NULL, 1, MUNIT_SUITE_OPTION_NONE }; -- 2.34.1