summaryrefslogtreecommitdiff
path: root/t/t4018/perl-sub-definition-kr-brace
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2014-03-31 16:30:54 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2014-03-31 16:30:54 -0700
commitc228a5c077d564d84e52fb1aabf3d623230c894d (patch)
tree50694b2bc9e5eb48c34bb747dc3ed7fbe6a1c600 /t/t4018/perl-sub-definition-kr-brace
parentMerge branch 'dw/doc-status-no-longer-shows-pound-prefix' (diff)
parentuserdiff: have 'cpp' hunk header pattern catch more C++ anchor points (diff)
downloadtgif-c228a5c077d564d84e52fb1aabf3d623230c894d.tar.xz
Merge branch 'js/userdiff-cc'
Improves the pattern to match the hunk-header for C/C++. * js/userdiff-cc: userdiff: have 'cpp' hunk header pattern catch more C++ anchor points t4018: test cases showing that the cpp pattern misses many anchor points t4018: test cases for the built-in cpp pattern t4018: reduce test files for pattern compilation tests t4018: convert custom pattern test to the new infrastructure t4018: convert java pattern test to the new infrastructure t4018: convert perl pattern tests to the new infrastructure t4018: an infrastructure to test hunk headers userdiff: support unsigned and long long suffixes of integer constants userdiff: support C++ ->* and .* operators in the word regexp
Diffstat (limited to 't/t4018/perl-sub-definition-kr-brace')
-rw-r--r--t/t4018/perl-sub-definition-kr-brace4
1 files changed, 4 insertions, 0 deletions
diff --git a/t/t4018/perl-sub-definition-kr-brace b/t/t4018/perl-sub-definition-kr-brace
new file mode 100644
index 0000000000..330b3df114
--- /dev/null
+++ b/t/t4018/perl-sub-definition-kr-brace
@@ -0,0 +1,4 @@
+sub RIGHT
+{
+ print "ChangeMe\n";
+}