From bfaaf191a5470cb81ce327bc3b9ef9e277c9767b Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Sun, 10 Oct 2021 17:03:02 +0000 Subject: userdiff-cpp: prepare test cases with yet unsupported features 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 Signed-off-by: Junio C Hamano --- t/t4034/cpp/expect | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 't/t4034/cpp/expect') diff --git a/t/t4034/cpp/expect b/t/t4034/cpp/expect index 46c9460a96..3d37ddac42 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 -- cgit v1.2.3