summaryrefslogtreecommitdiff
path: root/AK/Tests
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-09-13 14:37:25 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-09-13 14:37:25 +0200
commit09e89cc55dba580d3729fbda5913e6aa87f7746d (patch)
tree405f16de9d8bfc844029d63597204b2c6bb3d8c2 /AK/Tests
parent2d1f3ec749832822c00a9278161890918416e9be (diff)
downloadserenity-09e89cc55dba580d3729fbda5913e6aa87f7746d.zip
Revert "AK: Made Strings reversible"
This reverts commit 26e81ad574d463faee19f5973108f80d0e02aaf6. We forgot to consider UTF-8 here. String is UTF-8 and we need to be careful about things like this.
Diffstat (limited to 'AK/Tests')
-rw-r--r--AK/Tests/TestString.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/AK/Tests/TestString.cpp b/AK/Tests/TestString.cpp
index 03fbb51641..9a427d302e 100644
--- a/AK/Tests/TestString.cpp
+++ b/AK/Tests/TestString.cpp
@@ -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)