From dd4dc5c574c0849fef6855d9efdfae5dc9369f2d Mon Sep 17 00:00:00 2001 From: Johannes Sixt Date: Fri, 21 Mar 2014 22:07:17 +0100 Subject: [PATCH] t4018: convert java pattern test to the new infrastructure Signed-off-by: Johannes Sixt Signed-off-by: Junio C Hamano --- t/t4018-diff-funcname.sh | 4 ---- t/t4018/java-class-member-function | 8 ++++++++ 2 files changed, 8 insertions(+), 4 deletions(-) create mode 100644 t/t4018/java-class-member-function 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"); + } +} -- 2.11.4.GIT