@@ -16,7 +16,7 @@ public function testGetStrings()
1616 // Check total number of strings
1717 $ this
1818 ->integer (count ($ strings ))
19- ->isEqualTo (13 );
19+ ->isEqualTo (15 );
2020
2121 // Check strings
2222 $ this
@@ -26,6 +26,15 @@ public function testGetStrings()
2626 $ this
2727 ->string ($ strings ['firefox_ios/firefox-ios.xliff:f6b6d1aff4ade5b867d563d74b01a429 ' ])
2828 ->isEqualTo ('Segnalibri pc desktop ' );
29+
30+ // Check escaped single straight quotes
31+ $ this
32+ ->string ($ strings ['firefox_ios/firefox-ios.xliff:e15c1a9a6082aa32623205328418a603 ' ])
33+ ->isEqualTo ("Test con \' " );
34+
35+ $ this
36+ ->string ($ strings ['firefox_ios/firefox-ios.xliff:1348465d2e7136641805937598daaeda ' ])
37+ ->isEqualTo ("Test con \\\\\' già escaped " );
2938 }
3039
3140 public function testGetStringsReference ()
@@ -36,7 +45,7 @@ public function testGetStringsReference()
3645 // Check total number of strings
3746 $ this
3847 ->integer (count ($ strings ))
39- ->isEqualTo (14 );
48+ ->isEqualTo (16 );
4049
4150 // Check strings
4251 $ this
@@ -46,6 +55,15 @@ public function testGetStringsReference()
4655 $ this
4756 ->string ($ strings ['firefox_ios/firefox-ios.xliff:f6b6d1aff4ade5b867d563d74b01a429 ' ])
4857 ->isEqualTo ('Desktop Bookmarks ' );
58+
59+ // Check escaped single straight quotes
60+ $ this
61+ ->string ($ strings ['firefox_ios/firefox-ios.xliff:e15c1a9a6082aa32623205328418a603 ' ])
62+ ->isEqualTo ("Test with \' " );
63+
64+ $ this
65+ ->string ($ strings ['firefox_ios/firefox-ios.xliff:1348465d2e7136641805937598daaeda ' ])
66+ ->isEqualTo ("Test with \\\\\' already escaped " );
4967 }
5068
5169 public function generateStringID_DP ()
0 commit comments