diff options
author | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-05-26 14:10:57 +0200 |
---|---|---|
committer | Máté Kocsis <kocsismate@woohoolabs.com> | 2020-07-10 21:05:28 +0200 |
commit | d30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1 (patch) | |
tree | 33fdeac65ef66eb3db6066af396763fae391bef9 /tests/strings | |
parent | 2ad75ba78440eeffbde35a12c666d5f55aaf631a (diff) | |
download | php-git-d30cd7d7e7ddd0d06c18c47f43c7d2ee00de24a1.tar.gz |
Review the usage of apostrophes in error messages
Closes GH-5590
Diffstat (limited to 'tests/strings')
-rw-r--r-- | tests/strings/offsets_chaining_5.phpt | 6 | ||||
-rw-r--r-- | tests/strings/offsets_general.phpt | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/strings/offsets_chaining_5.phpt b/tests/strings/offsets_chaining_5.phpt index 1c9da47af3..42cb1f2721 100644 --- a/tests/strings/offsets_chaining_5.phpt +++ b/tests/strings/offsets_chaining_5.phpt @@ -15,11 +15,11 @@ bool(true) string(6) "foobar" bool(false) -Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d +Warning: Illegal string offset "foo" in %s on line %d string(1) "f" bool(false) -Warning: Illegal string offset 'foo' in %soffsets_chaining_5.php on line %d +Warning: Illegal string offset "foo" in %s on line %d -Warning: Illegal string offset 'bar' in %soffsets_chaining_5.php on line %d +Warning: Illegal string offset "bar" in %s on line %d string(1) "f" diff --git a/tests/strings/offsets_general.phpt b/tests/strings/offsets_general.phpt index 7bbe9618d5..64d51457d7 100644 --- a/tests/strings/offsets_general.phpt +++ b/tests/strings/offsets_general.phpt @@ -20,6 +20,6 @@ string(1) "o" bool(true) bool(true) -Warning: Illegal string offset 'foo' in %s line %d +Warning: Illegal string offset "foo" in %s on line %d string(1) "f" bool(false) |