1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 06:57:35 +00:00

Revert "AK: Made Strings reversible"

This reverts commit 26e81ad574.

We forgot to consider UTF-8 here. String is UTF-8 and we need to be
careful about things like this.
This commit is contained in:
Andreas Kling 2019-09-13 14:37:25 +02:00
parent 2d1f3ec749
commit 09e89cc55d
4 changed files with 4 additions and 28 deletions

View file

@ -41,7 +41,6 @@ TEST_CASE(compare)
EXPECT(!("a" >= String("b")));
EXPECT("a" <= String("a"));
EXPECT(!("b" <= String("a")));
EXPECT(!strcmp(test_string.reversed().characters(), "FEDCBA"));
}
TEST_CASE(index_access)