From: Johannes Sixt Date: Fri, 21 Mar 2014 21:07:17 +0000 (+0100) Subject: t4018: convert java pattern test to the new infrastructure X-Git-Tag: v2.0.0-rc0~45^2~5 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=dd4dc5c574c0849fef6855d9efdfae5dc9369f2d;p=thirdparty%2Fgit.git t4018: convert java pattern test to the new infrastructure Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- diff --git a/t/t4018-diff-funcname.sh b/t/t4018-diff-funcname.sh index c94a5f49d2..008325f2a8 100755 --- a/t/t4018-diff-funcname.sh +++ b/t/t4018-diff-funcname.sh @@ -79,10 +79,6 @@ test_expect_success 'set up .gitattributes declaring drivers to test' ' EOF ' -test_expect_success 'preset java pattern' ' - test_expect_funcname "public static void main(" -' - test_expect_success 'custom pattern' ' test_config diff.java.funcname "!static !String diff --git a/t/t4018/java-class-member-function b/t/t4018/java-class-member-function new file mode 100644 index 0000000000..298bc7a71b --- /dev/null +++ b/t/t4018/java-class-member-function @@ -0,0 +1,8 @@ +public class Beer +{ + int special; + public static void main(String RIGHT[]) + { + System.out.print("ChangeMe"); + } +}