diff options
author | Rob Landley <rob@landley.net> | 2012-02-13 21:13:05 -0600 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2012-02-13 21:13:05 -0600 |
commit | 3e7c25961e945eb3a617aea46791f9b135567e48 (patch) | |
tree | 8b9677063d9b814d7054770bc22b17cc578cb3f4 /scripts | |
parent | 528e3ba874f0d89f5a4d1f8ce8c04adbaa2ec1e4 (diff) | |
download | toybox-3e7c25961e945eb3a617aea46791f9b135567e48.tar.gz |
Minor code cleanup and typo fix.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/test/basename.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/test/basename.test b/scripts/test/basename.test index e0288ce1..bd48f4af 100755 --- a/scripts/test/basename.test +++ b/scripts/test/basename.test @@ -16,8 +16,8 @@ testing "basename suffix" "basename a/b/c/d.suffix .suffix" "d\n" "" "" testing "basename suffix=result" "basename .txt .txt" ".txt\n" "" "" # Deal with suffix appearing in the filename -testing "basename reappering suffix 1" "basename a.txt.txt .txt" "a.txt\n" "" "" -testing "basename reappering suffix 2" "basename a.txt.old .txt" "a.txt.old\n" "" "" +testing "basename reappearing suffix 1" "basename a.txt.txt .txt" "a.txt\n" "" "" +testing "basename reappearing suffix 2" "basename a.txt.old .txt" "a.txt.old\n" "" "" # A suffix should be a real suffix, only a the end. -testing "basename invalid suffix" "basename isthisasuffix? suffix" "isthisasuffix?\n" "" ""
\ No newline at end of file +testing "basename invalid suffix" "basename isthisasuffix? suffix" "isthisasuffix?\n" "" "" |