diff options
author | Johannes Sixt <j6t@kdbg.org> | 2021-10-10 17:03:02 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-10-10 15:24:21 -0700 |
commit | bfaaf191a5470cb81ce327bc3b9ef9e277c9767b (patch) | |
tree | c9f4ef67f69af9c7265d73d998fe51e80b183c39 /t/t4034/cpp/post | |
parent | userdiff-cpp: tighten word regex (diff) | |
download | tgif-bfaaf191a5470cb81ce327bc3b9ef9e277c9767b.tar.xz |
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 <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4034/cpp/post')
-rw-r--r-- | t/t4034/cpp/post | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/t/t4034/cpp/post b/t/t4034/cpp/post index 3feae6f430..64e78afbfb 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"<<endl; -(1 +1e10 0xabcdef) 'y' +(1 +1e10 0xabcdef) '.' // long double -3.141592654e+10l +3.141'592'654e+10l // float 120E6f // hex -0xdeadBeaf+7ULL +0xdead'Beaf+7ULL // octal -01234560 +0123'4560 // binary -0b1100+e1 +0b11'00+e1 // expression 1.5-e+3+f // another one @@ -20,7 +20,7 @@ str.e+75 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 |