mirror of
https://github.com/dylanaraps/pure-bash-bible.git
synced 2025-09-01 03:21:56 +02:00
docs: update
This commit is contained in:
3
test.sh
3
test.sh
@@ -150,6 +150,9 @@ test_dirname() {
|
|||||||
|
|
||||||
result="$(dirname "something//////////.///////////")"
|
result="$(dirname "something//////////.///////////")"
|
||||||
assert_equals "$result" "something"
|
assert_equals "$result" "something"
|
||||||
|
|
||||||
|
result="$(dirname "//////")"
|
||||||
|
assert_equals "$result" "/"
|
||||||
}
|
}
|
||||||
|
|
||||||
test_basename() {
|
test_basename() {
|
||||||
|
Reference in New Issue
Block a user