From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS53758 23.128.96.0/24 X-Spam-Status: No, score=-2.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED, SPF_HELO_PASS,SPF_PASS,URIBL_SBL,URIBL_SBL_A shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by dcvr.yhbt.net (Postfix) with ESMTP id DE2001FA01 for ; Sun, 10 Oct 2021 17:03:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232102AbhJJRFM (ORCPT ); Sun, 10 Oct 2021 13:05:12 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231972AbhJJRFI (ORCPT ); Sun, 10 Oct 2021 13:05:08 -0400 Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6461CC061570 for ; Sun, 10 Oct 2021 10:03:09 -0700 (PDT) Received: by mail-wr1-x432.google.com with SMTP id y3so14727579wrl.1 for ; Sun, 10 Oct 2021 10:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:in-reply-to:references:from:date:subject:fcc :content-transfer-encoding:mime-version:to:cc; bh=L/JFOu18bI6ZDnCyvpp97l+zqeYnrFVFqOP4uPer1+s=; b=kF1GLObII+JSxbpYxJQEuDL3XpLzA9AfVlrkm1OzsX2RiJ6/Tu+moxavuVuFCPPcGz Bs3XO135TOWhU8xLfO9bjyr2xCqIeow/wAOkpgj035Gb52bQHvl7MWVZkKBiAvXGjuRG FTxVqGdxIU7Lf7JqKO9EogFOW2FM8UdVI61+H/qst/bWwxQhzr4nl4YyGu4r2qJIX28v XRZ3HTUcIs4WaCmEwekpgHk3mxOc+k3V9C8z3MqbL6OqQyo4unewZSNG53L4e8PrF9pj J732dLFUpEHrIwvSpwtQQfmN6keALZMZeyX/M7l4hdSE+aB5Sbi6MD6zwBNHKgefHRv2 4PgQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:in-reply-to:references:from:date :subject:fcc:content-transfer-encoding:mime-version:to:cc; bh=L/JFOu18bI6ZDnCyvpp97l+zqeYnrFVFqOP4uPer1+s=; b=e0194nrw7eMfLp0Ev7VsILU0smt9j2l5fBiUvK62mf1eCLT0+dFFI8AU/Ot7DMBTUO uR2V+uvH1JRkDDszXbyU1NrYwg75ArfDFqUH/Rmf4EV0pslv2jpagbC7UKKcgfrYOUNJ TleEd6z7QE0ZocGuG74qUNmdfStDNoJdZBFUtThET/PwUQu8wovjKmcm3yA/1ZkjGoOw EXSM/k3oUtKqRhVdsfg0xTkdVzSiJfIS22y0AqMBMhn4cyOoFoyNbxr2+XAIOKRfpiRO 4AMaoz4HGlC0Yrn2300rWUDx/YaheLEroJeWfZwRXsallCWi+7v3KdnaN0XYusb22qPs lsiA== X-Gm-Message-State: AOAM5305ZhQsOmq6PTDebtiR4u/XWjCXZ1Zp5YHMQJW32rnJQfmyNExO oPtaX4yvIdjxYkJr3Rg81hpN1ge6Iys= X-Google-Smtp-Source: ABdhPJxnVTNo96umpu5oufxBSZHuApd2AvjXYKpRpfzAQB9WYBsUSRKvEOHu58MaZEYDpVROza3PAA== X-Received: by 2002:a1c:a443:: with SMTP id n64mr16451733wme.32.1633885387998; Sun, 10 Oct 2021 10:03:07 -0700 (PDT) Received: from [127.0.0.1] ([13.74.141.28]) by smtp.gmail.com with ESMTPSA id c9sm18116423wmb.41.2021.10.10.10.03.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 10 Oct 2021 10:03:07 -0700 (PDT) Message-Id: In-Reply-To: References: From: "Johannes Sixt via GitGitGadget" Date: Sun, 10 Oct 2021 17:03:02 +0000 Subject: [PATCH v3 4/6] userdiff-cpp: prepare test cases with yet unsupported features Fcc: Sent Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit MIME-Version: 1.0 To: git@vger.kernel.org Cc: =?UTF-8?Q?=C3=86var_Arnfj=C3=B6r=C3=B0?= Bjarmason , Johannes Sixt , Johannes Sixt Precedence: bulk List-ID: X-Mailing-List: git@vger.kernel.org From: Johannes Sixt We are going to add support for C++'s digit-separating single-quote and the spaceship operator. By adding the test cases in this separate commit, the effect on the word highlighting will become more obvious as the features are implemented and the file cpp/expect is updated. Signed-off-by: Johannes Sixt --- t/t4034/cpp/expect | 14 +++++++------- t/t4034/cpp/post | 12 ++++++------ t/t4034/cpp/pre | 10 +++++----- 3 files changed, 18 insertions(+), 18 deletions(-) diff --git a/t/t4034/cpp/expect b/t/t4034/cpp/expect index 46c9460a968..3d37ddac42c 100644 --- a/t/t4034/cpp/expect +++ b/t/t4034/cpp/expect @@ -1,21 +1,21 @@ diff --git a/pre b/post -index 1229cdb..3feae6f 100644 +index 144cd98..64e78af 100644 --- a/pre +++ b/post @@ -1,30 +1,30 @@ Foo() : x(0&&1&42) { foo0bar(x.findFind); } cout<<"Hello World!?\n"<(1 -+1e10 0xabcdef) 'xy' +(1 -+1e10 0xabcdef) 'x.' // long double -3.141592653e-10l3.141592654e+10l +3.141'592'653e-10l654e+10l // float 120E5f120E6f // hex -0xdeadbeaf0xdeadBeaf+8ULL7ULL +0xdead'beafBeaf+8ULL7ULL // octal -0123456701234560 +0123'45674560 // binary -0b10000b1100+e1 +0b100b11'00+e1 // expression 1.5-e+23+f // another one @@ -25,7 +25,7 @@ str.e+6575 a**=b c//=d e%%=f a+++b c---d a<<<<=b c>>>>=d -a<<=b c<=<d e>>=f g>=>h +a<<=b c<=<d e>>=f g>=>h i<=>j a==!=b c!==d a^^=b c||=d e&&&=f a|||b diff --git a/t/t4034/cpp/post b/t/t4034/cpp/post index 3feae6f430f..64e78afbfb5 100644 --- a/t/t4034/cpp/post +++ b/t/t4034/cpp/post @@ -1,16 +1,16 @@ Foo() : x(0&42) { bar(x.Find); } cout<<"Hello World?\n"<>=d -a<=b c=f g>h +a<=b c=f g>h i<=>j a!=b c=d a^=b c|=d e&=f a|b diff --git a/t/t4034/cpp/pre b/t/t4034/cpp/pre index 1229cdb59d1..144cd980d6b 100644 --- a/t/t4034/cpp/pre +++ b/t/t4034/cpp/pre @@ -2,15 +2,15 @@ Foo():x(0&&1){ foo0( x.find); } cout<<"Hello World!\n"<>d -af g>=h +af g>=h i<=j a==b c!=d a^b c|d e&&f a||b -- gitgitgadget