@@ -34,16 +34,16 @@ public function testPo()
3434 $ this ->assertContent ($ translations , 'po/YamlDictionary ' );
3535
3636 $ this ->runTestFormat ('po/Po ' , $ countTranslations , $ countTranslated , $ countHeaders );
37- $ this ->runTestFormat ('po/Mo ' , $ countTranslations , $ countTranslated , $ countHeaders );
38- $ this ->runTestFormat ('po/PhpArray ' , $ countTranslations , $ countTranslated , $ countHeaders );
39- $ this ->runTestFormat ('po/Jed ' , $ countTranslations , $ countTranslated , 10 );
37+ $ this ->runTestFormat ('po/Mo ' , $ countTranslations - 1 , $ countTranslated - 1 , $ countHeaders );
38+ $ this ->runTestFormat ('po/PhpArray ' , $ countTranslations - 1 , $ countTranslated - 1 , $ countHeaders );
39+ $ this ->runTestFormat ('po/Jed ' , $ countTranslations - 1 , $ countTranslated - 1 , 10 );
4040 $ this ->runTestFormat ('po/Xliff ' , $ countTranslations , $ countTranslated , $ countHeaders );
41- $ this ->runTestFormat ('po/Json ' , $ countTranslations , $ countTranslated , $ countHeaders );
42- $ this ->runTestFormat ('po/JsonDictionary ' , $ countTranslations , $ countTranslated );
43- $ this ->runTestFormat ('po/Csv ' , $ countTranslations , $ countTranslated , $ countHeaders );
44- $ this ->runTestFormat ('po/CsvDictionary ' , $ countTranslations , $ countTranslated );
45- $ this ->runTestFormat ('po/Yaml ' , $ countTranslations , $ countTranslated , $ countHeaders );
46- $ this ->runTestFormat ('po/YamlDictionary ' , $ countTranslations , $ countTranslated );
41+ $ this ->runTestFormat ('po/Json ' , $ countTranslations - 1 , $ countTranslated - 1 , $ countHeaders );
42+ $ this ->runTestFormat ('po/JsonDictionary ' , $ countTranslations - 1 , $ countTranslated - 1 );
43+ $ this ->runTestFormat ('po/Csv ' , $ countTranslations - 1 , $ countTranslated - 1 , $ countHeaders );
44+ $ this ->runTestFormat ('po/CsvDictionary ' , $ countTranslations - 1 , $ countTranslated - 1 );
45+ $ this ->runTestFormat ('po/Yaml ' , $ countTranslations - 1 , $ countTranslated - 1 , $ countHeaders );
46+ $ this ->runTestFormat ('po/YamlDictionary ' , $ countTranslations - 1 , $ countTranslated - 1 );
4747 }
4848
4949 public function testPo2 ()
@@ -351,7 +351,6 @@ public function testPhpCode3()
351351 $ this ->assertCount ($ countHeaders , $ translations ->getHeaders ());
352352 $ this ->assertEquals (0 , $ translations ->countTranslated ());
353353
354- self ::saveContent ($ translations , 'phpcode3/Po ' );
355354 $ this ->assertContent ($ translations , 'phpcode3/Po ' );
356355 $ this ->assertContent ($ translations , 'phpcode3/Mo ' );
357356 $ this ->assertContent ($ translations , 'phpcode3/PhpArray ' );
0 commit comments