summaryrefslogtreecommitdiff
path: root/tests/test_list.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-01 13:32:22 +0200
committerGitHub <noreply@github.com>2021-04-01 13:32:22 +0200
commit4b6e9f315739c4400e3c2d27cd72028779bce1e5 (patch)
tree0625f98287fd20f0ffd6002b4c8ee4f81e068bb8 /tests/test_list.h
parent7db85fffb50ef98dbf175189fba17a4d7dc85f5d (diff)
parent755c70b871c659df2d7c3a003593f38775dd7b5d (diff)
Merge pull request #46991 from madmiraal/rename-invert-reverse
Rename Array.invert() to Array.reverse()
Diffstat (limited to 'tests/test_list.h')
-rw-r--r--tests/test_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_list.h b/tests/test_list.h
index 1c70b6e961..52d5edff70 100644
--- a/tests/test_list.h
+++ b/tests/test_list.h
@@ -260,7 +260,7 @@ TEST_CASE("[List] Invert") {
List<int>::Element *n[4];
populate_integers(list, n, 4);
- list.invert();
+ list.reverse();
CHECK(list.front()->get() == 3);
CHECK(list.front()->next()->get() == 2);