Permalink
Browse files

Enable javap -v mode. Adjust t/02_interface.t to match. Some tests fail.

  • Loading branch information...
timbunce committed Aug 29, 2010
1 parent 8acd093 commit 140d981db557c4954ae76bd308818011f553d1a5
Showing with 3 additions and 2 deletions.
  1. +1 −1 lib/Java/Javap.pm
  2. +2 −1 t/02_interface.t
View
@@ -56,7 +56,7 @@ sub invoke_javap {
$options ||= {};
# Open the real javap executable and read output from it
- open(my $javap_fh, '-|', $JAVAP_EXECUTABLE, %$options, @$classes)
+ open(my $javap_fh, '-|', $JAVAP_EXECUTABLE, '-v', %$options, @$classes)
or croak "'$JAVAP_EXECUTABLE @{[ %$options ]} @$classes' failed: $!";
my $javap_output = q{};
View
@@ -42,6 +42,7 @@ my $expected_tree = {
array_depth => 0,
array_text => '',
},
+ value => '4',
},
{
'attrs' => [
@@ -205,7 +206,7 @@ class com::example::Second { ... };
role com::example::NestedIntTest {
- method USELESS_CONSTANT (--> Int) is export { ... }
+ method USELESS_CONSTANT (--> Int) is export { 4 }
method array_returner (
Str $v1, # java.lang.String

0 comments on commit 140d981

Please sign in to comment.