зеркало из https://github.com/microsoft/git.git
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>
This commit is contained in:
Родитель
2d08413ba1
Коммит
dd4dc5c574
|
@ -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
|
||||
|
|
|
@ -0,0 +1,8 @@
|
|||
public class Beer
|
||||
{
|
||||
int special;
|
||||
public static void main(String RIGHT[])
|
||||
{
|
||||
System.out.print("ChangeMe");
|
||||
}
|
||||
}
|
Загрузка…
Ссылка в новой задаче