From 300a0fe11ea9404f560e39885dea3c271936b2dd Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Sep 2019 17:47:07 +0300 Subject: [PATCH] docs: update --- README.md | 2 ++ test.sh | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6284724..eb70f47 100644 --- a/README.md +++ b/README.md @@ -679,6 +679,8 @@ allows us to effectively remove array duplicates. **CAVEAT:** Requires `bash` 4+ +**CAVEAT:** List order may not stay the same. + **Example Function:** ```sh diff --git a/test.sh b/test.sh index 252e365..57205b2 100755 --- a/test.sh +++ b/test.sh @@ -75,11 +75,6 @@ test_reverse_array() { shopt -u compat44 } -test_remove_array_dups() { - IFS=$'\n' read -d "" -ra result < <(remove_array_dups 1 1 2 2 3 3 4 5) - assert_equals "${result[*]}" "1 2 3 4 5" -} - test_cycle() { # shellcheck disable=2034 arr=(a b c d)