diff options
author | Johannes Sixt <j6t@kdbg.org> | 2014-03-21 22:07:18 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-21 15:02:57 -0700 |
commit | f1b75fbaf1380e00668f775f27ba8dd52b78a081 (patch) | |
tree | 7229343c8f7379ddb7715b01708838f8294bb845 /t/t4018/custom2-match-to-end-of-line | |
parent | t4018: convert java pattern test to the new infrastructure (diff) | |
download | tgif-f1b75fbaf1380e00668f775f27ba8dd52b78a081.tar.xz |
t4018: convert custom pattern test to the new infrastructure
For the test case "matches to end of line", extend the pattern by a few
wildcards so that the pattern captures the "RIGHT" token, which is needed
for verification, without mentioning it in the pattern.
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4018/custom2-match-to-end-of-line')
-rw-r--r-- | t/t4018/custom2-match-to-end-of-line | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/t/t4018/custom2-match-to-end-of-line b/t/t4018/custom2-match-to-end-of-line new file mode 100644 index 0000000000..f88ac318b7 --- /dev/null +++ b/t/t4018/custom2-match-to-end-of-line @@ -0,0 +1,8 @@ +public class RIGHT_Beer +{ + int special; + public static void main(String args[]) + { + System.out.print("ChangeMe"); + } +} |