test/java/time/test/java/time/format/TestStringLiteralPrinter.java

Print this page

        

@@ -72,25 +72,25 @@
 public class TestStringLiteralPrinter extends AbstractTestPrinterParser {
 
     //-----------------------------------------------------------------------
     public void test_print_emptyCalendrical() throws Exception {
         buf.append("EXISTING");
-        getFormatter("hello").printTo(EMPTY_DTA, buf);
+        getFormatter("hello").formatTo(EMPTY_DTA, buf);
         assertEquals(buf.toString(), "EXISTINGhello");
     }
 
     public void test_print_dateTime() throws Exception {
         buf.append("EXISTING");
-        getFormatter("hello").printTo(dta, buf);
+        getFormatter("hello").formatTo(dta, buf);
         assertEquals(buf.toString(), "EXISTINGhello");
     }
 
 
 
 
     public void test_print_emptyAppendable() throws Exception {
-        getFormatter("hello").printTo(dta, buf);
+        getFormatter("hello").formatTo(dta, buf);
         assertEquals(buf.toString(), "hello");
     }
 
     //-----------------------------------------------------------------------
     public void test_toString() throws Exception {