Git fork

t4018: convert java pattern test to the new infrastructure

Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>

authored by

Johannes Sixt and committed by
Junio C Hamano
dd4dc5c5 2d08413b

+8 -4
-4
t/t4018-diff-funcname.sh
··· 79 79 EOF 80 80 ' 81 81 82 - test_expect_success 'preset java pattern' ' 83 - test_expect_funcname "public static void main(" 84 - ' 85 - 86 82 test_expect_success 'custom pattern' ' 87 83 test_config diff.java.funcname "!static 88 84 !String
+8
t/t4018/java-class-member-function
··· 1 + public class Beer 2 + { 3 + int special; 4 + public static void main(String RIGHT[]) 5 + { 6 + System.out.print("ChangeMe"); 7 + } 8 + }