strings: put every String from the constantpool in a Map
[mate.git] / Makefile
index 2b4182d46c57c28e13e35a28701e2d9884639e1d..57f77e22d94bfed98ea4d0633fc7522559283fc2 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -60,6 +60,8 @@ test: mate $(CLASS_FILES)
        @printf "should be:  0x%08x 0x%08x\n" 0x1337 0x1337
        ./$< tests/Native2 | grep "printstream"
        @printf "should be:   0x%08x\n" 0x1337
+       ./$< tests/Native2 | grep "Hello World"
+       @printf "should be: %s" "Hello World"
 
 %.class: %.java
        $(JAVAC) $<