Signed-off-by: Johannes Sixt <[email protected]>
---
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 c94a5f4..008325f 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 0000000..298bc7a
--- /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");
+ }
+}
--
1.8.5.2.244.g9fb3fb1
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html