Skip to content

Commit dd21847

Browse files
committed
Remove unnecessary extra param
1 parent d7f7edd commit dd21847

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example-bats/src/ice_cream_price.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function calculatePrice() {
2222
}
2323

2424
function getDay() {
25-
date -d "$D" '+%d'
25+
date -d '+%d'
2626
}
2727

2828
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]

example-shellspec/src/ice_cream_price.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function calculatePrice() {
2222
}
2323

2424
function getDay() {
25-
date -d "$D" '+%d'
25+
date -d '+%d'
2626
}
2727

2828
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]

example-shunit2/src/ice_cream_price.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ function calculatePrice() {
2222
}
2323

2424
function getDay() {
25-
date -d "$D" '+%d'
25+
date -d '+%d'
2626
}
2727

2828
if [[ "${BASH_SOURCE[0]}" == "${0}" ]]

0 commit comments

Comments
 (0)