Skip to content

Commit dd4dc5c

Browse files
j6tgitster
authored andcommitted
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>
1 parent 2d08413 commit dd4dc5c

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

t/t4018-diff-funcname.sh

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,6 @@ test_expect_success 'set up .gitattributes declaring drivers to test' '
7979
EOF
8080
'
8181

82-
test_expect_success 'preset java pattern' '
83-
test_expect_funcname "public static void main("
84-
'
85-
8682
test_expect_success 'custom pattern' '
8783
test_config diff.java.funcname "!static
8884
!String

t/t4018/java-class-member-function

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
public class Beer
2+
{
3+
int special;
4+
public static void main(String RIGHT[])
5+
{
6+
System.out.print("ChangeMe");
7+
}
8+
}

0 commit comments

Comments
 (0)